Mostrando postagens com marcador psexec. Mostrar todas as postagens
Mostrando postagens com marcador psexec. Mostrar todas as postagens

Run psexec computer list

 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"}


Remove computer from Azure Arc

   To fully remove a computer from Azure Arc-enabled servers, follow the official steps in the Uninstall the Azure Connected Machin...

Mais vistos