On PowerShell.com today, I noticed an IT pro that was not able to get the Get-ADGroupMember cmdlet to work, but was able to utilized an [ADSI] query. He recently acquired his first Windows Server 2008 R2 Domain Controllers. My first thoughts went to the Active Directory Web Services. This is service is what the Active Directory Module for PowerShell uses and must be running on at least one of your Domain Controllers. When I shut down this service and then attempted to access a groups membership, I received the following: PS C:\> Get-ADGroupMember -Identity "Domain Admins" Get-ADGroupMember : Unable to find a default server with Active Directory Web Services running. At line:1 char:1 + Get-ADGroupMember -Identity "Domain Admins" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (Domain Admins:ADGroup) [Get-ADGroupMember], ADServerDownException ...
Welcome to the blogsite of MCTExpert. I am a Microsoft Certified Trainer. Here you will find the real questions that are asked to me by my students.