WinRM Disable Script
WinRM Disable Script
WinRM Disable Script
com/docs/DOC-1912
1. Download PsTools from Microsoft Technet . Extract PsExec from the archive.
2. Create a file containing the list of hosts that you want to enable/disable WinRm. (one host per line)
3. Download the two .BAT files attached to this wiki.
4. Use PsExec.exe to enable/disable WinRM on remote hosts.
a. To enable: .\PsExec.exe @$HOST_FILE_PATH -u $USERNAME -p $PASSWORD -c
enable_winrm.bat
5. if you get a error message on elevated user, add the -h option to PsExec.exe: .\PsExec.exe -h
1 of 4 11/28/2018, 2:19 PM
Enable/Disable WinRM on remote hosts | Green Circle Community https://greencircle.vmturbo.com/docs/DOC-1912
hosts file
hp-dl590
hp-dl591
hp-dl592
PowerShell PsExec
Enable WinRM
2 of 4 11/28/2018, 2:19 PM
Enable/Disable WinRM on remote hosts | Green Circle Community https://greencircle.vmturbo.com/docs/DOC-1912
Disable WinRM
0 Comments
3 of 4 11/28/2018, 2:19 PM
Enable/Disable WinRM on remote hosts | Green Circle Community https://greencircle.vmturbo.com/docs/DOC-1912
Related Content
Recommended Content
Incoming Links
4 of 4 11/28/2018, 2:19 PM