Parse complist.txt with batch and start psexec for each single computer instead of a list of computers:
for /f "delims=" %%i in (C:\_\complist.txt) do (
start "%%i" psexec \\%%i -u Admin -p PASSWORD -i. c:\clearcache.cmd
)
or
make a list of target computers and iterate that motha:
$computers=get-content list_of_computers.txt
foreach ($computer in $computers){
psexec \\$computer -u .\administrator -p thisismypass /c "c:\temp\uninstallchrome.bat"}
Run psexec computer list
Adicionar registro DNS windows linha de comando
Usando o Prompt de Comando (dnscmd)Abra o Prompt de Comando como Administrador e utilize a seguinte estrutura para adicionar um registro do...
Mais vistos
-
Find Users Who Have Never Logged On Use the following PowerShell Command; Get-ADUser -Filter { LastLogonDate -notlike "*" -and En...
-
First you have to configure a wpad site in your IIS Open the proxypac.pac file you have previously created and save as wpad.dat. Copy wpa...
-
Java Keytool Command These commands allow you to generate a new Java Keytool keystore file, create a CSR, and import certificates. A...