Posted On March 31, 2019

Use psexec to install application remotely

kimconnect 0 comments
blog.KimConnect.com >> Codes >> Use psexec to install application remotely
psexec @ComputerList.txt -u domain\administrator cmd /s /c "xcopy "\\NetworkPath\Forefront Software\Install.exe" "C:\Windows" && Install.exe /u /s && del C:\Windows\Install.exe"

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Delete Files Older Than 30 Days

Have you ever run into C:\ volumes reaching critical thresholds because certain applications or users…

Puppet Client Server Lab Setup

Server # Setup client machine name sudo vim /etc/hosts ## Insert this line ## xx.xx.xx.xx…

PowerShell: Maintaining Processes on Remote Servers

# maintainProcess.ps1 # version 0.0.1 $computernames=@( 'server1', 'server2' ) $processName='cmd' $processPath='C:\WINDOWS\system32\cmd.exe' $minutesToDefineCrashed=1 # this marker…