Rexxer

Some tips for me and other

Windows + Remote commands

  1. Psexec from sysinternals suite.
  2. WMIC: wmic /node:”servername” qfe get hotfixid | find “KB4012212″, wmic /node:”servername” process call create “cmd /c somecommands”
  3. Powershell, run Enable-PSRemoting-Force on the remote PC, run Test-WSMan on your PC to test the connection, run Invoke-Command -ComputerName COMPUTER -ScriptBlock { COMMAND } -credential USERNAME
  4. Enter-PSSession, as in the #3.
  5. Other tools.

Comments are currently closed.