Help with Active Directory module in PowerShell 2
Posted on 2011-05-12
I'm seeing really strange behavior with our 2008R2 DC. If I try to launch the Active Directory Module in Windows PowerShell from the provided shortcut, I get an error message in the shell that reads, "Cannot locate default server with Active Directory Web Service running".
This is despite the fact that the service is, in fact running on that very same server. The necessary features are installed, etc.
If I type "import-module ActiveDirectory" into the shell, it loads the module and I can access the associated cmdlets.
Further, if the module is not loaded into a shell on the DC, I cannot load the module into PowerShell from any other location within the domain, either. However, if the module is loaded on the DC, the module can then be loaded on (for example) my Win 7 workstation.
Many thanks --