4
Following commands run on a Windows 10 VM that's joined to AzureAD:
PS C:\Windows\system32> Get-LocalGroupMember -Group Administrators
Get-LocalGroupMember : Failed to compare two elements in the array. At line:1 char:1PS C:\Windows\system32> Get-LocalGroupMember -Group Users
Group NT AUTHORITY\Authenticated Users Unknown
Group NT AUTHORITY\INTERACTIVE UnknownPS C:\Windows\system32> net localgroup administrators
Members
Administrator AzureAD\UserName
Any idea why the PowerShell Get-LocalGroupMember command is generating an error on the Administrators group whereas net localgroup works as does Get-LocalGroupMember for the Users group?
Hrm, no repro on my win10 computers. – Zoredache – 2016-10-05T22:07:46.220
It works fine on my dev PC, just not this trial Windows 10 VM. Hmm... – munrobasher – 2016-10-06T10:28:02.327