Hello.
I want to uninstall an exchange server, but because there are mailboxes I can't. I also can't delete the mailboxes because I cannot gain access either to the ecp or managment shell.
ecp returns a 404 error and the managment shell gives this error:
VERBOSE: Connecting toexchange.domain.local.
New-PSSession : [exchange.domain.local] The WinRM service
cannot process the request because the request needs to be sent
to a different machine. Use the redirect information to send the request to a new machine. Redirect location reported:
https://exchange.domain.local/owa . To automatically
connect to the redirected URI, verify "MaximumConnectionRedirectionCount" property of session preference variable "PSSessionOption"
and use "AllowRedirection" parameter on the cmdlet.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession],
PSRemotin
gTransportRedirectException
+ FullyQualifiedErrorId : RedirectInformationRequired,PSSessionOpenFailed.
Any help would be greatly appreciated.