I have a mix of windows server 2012 and server 2008 R2 environment. All the servers are giving me the below error when importing Active Directory Module.
PS C:\Users\administrator.AIRWORK> Import-Module ActiveDirectory
Import-Module : The server was unable to process the request due to an internal error. For more information about the
error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug>
configuration behavior) on the server in order to send the exception information back to the client, or turn on
tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
At line:1 char:1
+ Import-Module ActiveDirectory
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (AD:PSDriveInfo) [Import-Module], ADException
+ FullyQualifiedErrorId : ADProvider:NewDrive:InvalidRoot:ADError,Microsoft.PowerShell.Commands.ImportModuleCommand
Event Viewer has a event id 300 logged.
Provider Health: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration
behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs..
Details:
ProviderName=ActiveDirectory
ExceptionClass=ProviderInvocationException
ErrorCategory=NotSpecified
ErrorId=ADProvider:NewDrive:InvalidRoot:ADError
ErrorMessage=The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from
the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
Severity=Warning
SequenceNumber=10
HostName=ConsoleHost
HostVersion=2.0
HostId=acd85fa7-3591-4cd9-9d80-64646ec6558d
EngineVersion=2.0
RunspaceId=20e83fda-3687-4d66-8932-d95d264c3bc0
PipelineId=15
CommandName=
CommandType=
ScriptName=
CommandPath=
CommandLine=
What do i need to do to get this working.
This was working pre Christmas and now its stopped working. Nothing as per client information has changed on the server.
Cheers
Taufeeq