I am gettin these errors in powershell when trying to create a new Autodiscover Virtual Directory... Please help..
I deleted the default successfully because we were having some issues and wanted to create a new one but Microsoft doens't have very much help or instructions on how to do it...
This is the code I ran: New-AutodiscoverVirtualDirectory -WebSiteName "Default Web Site" -BasicAuthentication $true -WindowsAuthentication $true
I stopped the W3svc first..
[Exchange Server] Connecting to remote server failed with the following error message : The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-
Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException
+ FullyQualifiedErrorId : PSSessionOpenFailed
Exception calling "GetSteppablePipeline" with "1" argument(s): "No session has been associated with this implicit remoting module"
At C:\Users\USER\AppData\Roaming\Microsoft\Exchange\RemotePowerShell\us-hou-ex01.dannenbaum.local\Exchange Server.psm1:23677 char:65
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline <<<< ($myInvocation.CommandOrigin)
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : DotNetMethodException
I deleted the default successfully because we were having some issues and wanted to create a new one but Microsoft doens't have very much help or instructions on how to do it...
This is the code I ran: New-AutodiscoverVirtualDirectory -WebSiteName "Default Web Site" -BasicAuthentication $true -WindowsAuthentication $true
I stopped the W3svc first..
[Exchange Server] Connecting to remote server failed with the following error message : The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-
Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException
+ FullyQualifiedErrorId : PSSessionOpenFailed
Exception calling "GetSteppablePipeline" with "1" argument(s): "No session has been associated with this implicit remoting module"
At C:\Users\USER\AppData\Roaming\Microsoft\Exchange\RemotePowerShell\us-hou-ex01.dannenbaum.local\Exchange Server.psm1:23677 char:65
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline <<<< ($myInvocation.CommandOrigin)
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : DotNetMethodException