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: Unjoin Computer From Domain

# unjoinComputerFromDomain.ps1 # Version 0.02 # Notes: # - This function doesn't delete the referenced…

Windows: Enable Remote Access

# Set remote hostname variable$remoteHost="HV01"# Install psexecInstall-Module -Name psexec# psexec \\$remoteHost reg add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v…

PowerShell: Windows 10 Preparation Script

Set PowerShell execution policy prior to running script as an Administrator Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Confirm:$False…
Other project: DragonCoin.com