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: Install Windows Cluster Admin

# Install Microsoft Clustering ManagementFunction installClusteringManagment{ # Set PowerShell Gallery as Trusted to bypass prompts…

Python: Module vs Package vs Library vs Framework

Module is a file which contains various Python functions and global variables. It is simply…

PowerShell: Backup, Archive, and Remove a Microsoft SQL Database

$sqlServer='sqlsherver007' $databaseName="someDatabaseName" $saCredential=get-credential $backupDestination="\\Archive03\MSSQL_Backups" function triggerSqlBackup($sqlServer,$databaseName){ # Ensure the the Jump Box has SQL PowerShell…