Forum Discussion
HCW fails to detect an Exchange Server
- Apr 30, 2025
SOLVED.
I don't understand the root cause. However I could work around the issue by having my admin-account which I use to execute HCW from the protected users group temporarily.
Thanks to everybody who contributed and thanks to Lenovo for the following support article which reported the same cause in a different context.
https://support.lenovo.com/nz/de/solutions/ht515867
Please run Windows PowerShell next command!
$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://MYNEWEXCHANGESERVER01/PowerShell/ -Authentication Kerberos -Credential (Get-Credential)
Import-PSSession $session
Thanks AnnTaeYoun. I ran your command using username format domain.local\adm-xyz from powershell.exe (not Exchange Management Shell) and it was accepted. However afterwards there were no Exchange CMDlets available like get-exchangeserver or get-mailbox.
- AnnTaeYounApr 30, 2025MVP
MarkusOE Below command run nothing else matter?
Import-PSSession $session
- MarkusOEApr 30, 2025Brass Contributor
Thanks AnnTaeYoun. That did the job. After "Import-PSSession $session" I got the correct reply to get-exchangeserver.
- AnnTaeYounApr 30, 2025MVP
Thanks MarkusOE Please retry run Hybrid Configuration Wizard!