Skip to content

Instantly share code, notes, and snippets.

View DimakosAD's full-sized avatar

Achileas Eleftherios Dimakos DimakosAD

View GitHub Profile
@DimakosAD
DimakosAD / PsExec_pxml.ps1
Last active May 19, 2026 13:03
PsExec Scrip that runs ~\bo.exe PXML in a list of Hosts
#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.