Hi @Sambhav Pandey ,
Did you installed the Exchange management shell on client computer?
- If you install the Exchange management shell, according to my test, you could directly open EMS and run Exchange cmdlets. In addition, please make sure that the computer where you install Exchange Management Shell meets the system requirements of the corresponding Exchange version and has installed the required prerequisites.
For more information: Exchange Server PowerShell (Exchange Management Shell) and Exchange Server prerequisites
2.If not, you could following steps to connect to Exchange server using remote Powershell:
- Open the Windows Powershell on client computer, then run the following command and enter your credential: $UserCredential = Get-Credential
2) Run the following commands and then you could run the Exchange cmdlet in Powershell:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://<ServerFQDN>/PowerShell/ -Authentication Kerberos -Credential $UserCredential
Import-PSSession $Session -DisableNameChecking
3) When you are finished using, please remember to run the following command line to disconnect, instead of closing the powershell window directly:
Remove-PSSession $Session
Below screenshot is my test in me lab environment:
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.