Hello All,
I have installed power-shell & Exchange server 2010 in a machine. When I try to browse power-shell using following URL
http://192.168.1.235/powershell?serializationLevel=Full, It gives the below error.
HTTP Error 401.0 - Access Denied
You do not have permission to view this directory or page.
Detailed Error Information
Module kerbauth
Notification AuthenticateRequest
Handler StaticFile
Error Code 0x00000000
Requested URL http:
Physical Path C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\PowerShell
Logon Method Not yet determined
Logon User Not yet determined
I have referred the following article msexchange and did the following steps.
Step 1 : Set-User ‘Administrator’ –RemotePowerShellEnabled $True
Step 2 : $SkipCertificate = New-WSManSessionOption –SkipCACheck –SkipCNCheck
–SkipRevocationCheck
Step 3 : $Session = New-PSSession –ConfigurationName Microsoft.Exchange –
ConnectionUri https://192.168.1.235/PowerShell/ -
Authentication NegotiateWithImplicitCredential –SessionOption
$SkipCertificate
This Step 3 failed with following error:::::
New-PSSession : Cannot bind parameter 'SessionOption'. Cannot convert the "Microsoft.WSMan.Management.SessionOption" value of type "Microsoft.WSMan.Management.SessionOption" to type "System.Management.Automation.Remoting.PSSessionOption".
At line:1 char:175
+ $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:
entication NegotiateWithImplicitCredential -SessionOption <<<< $SkipCertificate
+ CategoryInfo : InvalidArgument: (:) [New-PSSession], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.NewPSSessionCommand
Any help on this would be great...
Thanks
Sebastian