This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Requires -Version 5.1 | |
| <# | |
| .SYNOPSIS | |
| Runs c:\boffice\bin\bo.exe PXML on a list of remote hostnames using PsExec. | |
| .DESCRIPTION | |
| Reads a list of hostnames from a text file (one per line) and executes | |
| "c:\boffice\bin\bo.exe PXML" on each remote machine via PsExec. | |
| Logs success/failure per host to a timestamped log file. |