Welcome to Powergui.org - an open source community for Windows Powershell

PowerGUI.org PowerGUI.org and blogs

Forums » PowerGUI User Discussions

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

This question is not answered. Helpful answers available: 2. Answered answers available: 1.


Permlink Replies: 1 - Pages: 1 - Last Post: May 30, 2012 9:19 AM by: GCatGR
J03l

Posts: 1
Registered: 5/30/12
Could not find any default server to execute Active Directory Web Services
Posted: May 30, 2012 7:28 AM
 
  Click to reply to this thread Reply

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


GCatGR

Posts: 11
Registered: 5/29/12
Re: Could not find any default server to execute Active Directory Web Services
Posted: May 30, 2012 9:19 AM   in response to: J03l
 
  Click to reply to this thread Reply

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


Legend
MVP: 2501 + pts
Guru: 2001 - 2500 pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums