Could not find any default server to execute Active Directory Web Services

Your PowerGUI Community: Simplify your PowerShell related GUI and script editing needs.


Could not find any default server to execute Active Directory Web Services

This question is not answered
I get this by opening the PowerGUI which is what I have q q do? I am using it from my pc and not the AD or Exchange Server
All Replies
  • It could be because your domain has several domain controllers, and the one that authenticated your computer doesn't have the AD Management Gateway Service Installed?

    I found that here: http://blogs.technet.com/b/heyscriptingguy/archive/2011/08/29/use-active-directory-cmdlets-with-powershell-to-find-users.aspx

    The warning is generated because I have several domain controllers, and not all of them have the Active Directory Management Gateway Service installed. Depending on which domain controller authenticated my workstation, the warning appears. The solution is to install the Active Directory Management Gateway Service on all of the non-Windows Server 2008 R2 domain controllers. The other solution is to ignore the warning and specify the server parameter each time when using one of the cmdlets (but that will mean the PSDrive will be unavailable).


    http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=2852