How to Manage WinRM with PowerShell
·131 words·1 min·
100
views
·
5
likes
·
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>
Enable WinRM #
To enable remote management, Run the PowerShell console as administrator, and then type:
Configure-SMRemoting.exe -Enable
Disable WinRM>
Disable WinRM #
To disable remote management, Run the PowerShell console as administrator, and then type:
Configure-SMRemoting.exe -Disable
WinRm Status>
WinRm Status #
To know the current WinRm Status:
Configure-SMRemoting.exe -Get
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.