Test Remote Powershell Management is Enabled or Not

We can check whether the powershell remoting is configured or not in a particular remote computer using the powershell cmdlet Test-WsMan. This command tests whether the WinRM service is running on the remote computer and the computers can communicate with each other.

Test-WsMan COMPUTER

The below command check whether powershell remoting is enabled or not in the remote computer MCOM12.

Test-WsMan MCOM12

The command displays powershell version if remote powershell management is successfully configured or otherwise it will displays an error message.

Check Powershell Remoting Management is Enabled or Not


Advertisement

Leave a Comment