Windows Remote Management (WinRM) allows you to manage a server from a remote location using PowerShell and WMI-based tools. In this post, I want to show you how to manage WinRM from a PowerShell session. On the server that you want to manage remotely, Run the executable file %windir%\system32\Configure-SMRemoting.exe with the following syntax:
Enable WinRM #
To enable remote management, Run the PowerShell console as administrator, and then type:
Disable WinRM #
To disable remote management, Run the PowerShell console as administrator, and then type:
WinRm Status #
To know the current WinRm Status:
Thanks for reading my post. I hope you find it useful.
If you want to know more about Windows Remote Management, check out this link.