Very simple but useful command wmic #wmic
Last time we’ve learnt, how to run wmic under user profile – (run cmd as different user – Admin).
Today let me show, how to run wmic on the remote machine.
Magic syntax is /node:PC_Name
easy to start/stop local/remote service (for example Themes)
wmic /node:PC001 process call create “net stop/start Themes”
enable/disable particular NIC (as different user, or remotly)
wmic (/node:PCxxx) nic get name, index
wmic /node:PC002 path win32_networkadapter where index=2 call enable/disable