Upgrading multiple machines
-
Hi folks.
Due to our network being a managed network by an outside company, I have to manually install veyon onto every machine which in itself isn't too bad but, I'd like to automate it slightly from my own workstation by involing a remote command to relevant workstations.
Has anyone done such a thing via a VBS or Powershell Script?
Thanks
Declan
-
This can be easily done with PSTools from Microsoft and a batch script or PowerShell.
I use the following to manually remotely install veyon and the security keys when the GPO installer doesn't work for any reason.
You can replace line 1 with a call to a list of computers rather than specifying a single computer if that fits your needs better.SET /p computer="enter computername:" XCOPY "\\networklocation\veyon-4.7.5.0-win64-setup.exe" "\\%computer%\C$\" /e /h /y XCOPY "\\networklocation\UserConfig.json" "\\%computer%\C$\" /e /h /y XCOPY "\\networklocation\veyon\Veyon\*.*" "\\%computer%\C$\ProgramData\Veyon\" /e /h /y timeout /t 5 CD "C:\PSTools\" psexec64 \\%computer% C:\veyon-4.7.5.0-win64-setup.exe /S /ApplyConfig=C:\UserConfig.json /NoMaster