https://4sysops.com/archives/use-powershell-invoke-command-to-run-scripts-on-remote-computers/
Invoke-Command -computer w6delpid -scriptblock { cd  \Scripts\Update-Apps; ./Update-Apps }

Translate »
%d bloggers like this: