Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to See If WinRM Is Running on Remote Computer

$
0
0

SummaryLearn how to easily use Windows PowerShell to check if WinRM is running on a remote computer.

Hey, Scripting Guy! Question How can I use Windows PowerShell to ensure that WinRM is running and configured on my three remote computers?

Hey, Scripting Guy! Answer Create an array of computer names, and pipe them to the Test-WsMan cmdlet, for example:

"s1","s2","dc1" | % { Test-WSMan $_ }

Note  % is an alias for the Foreach-Object cmdlet.


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>