wmic /node:$ip /user:$user /password:$password --% Service where name="W3SVC" call stopservice
wmic /node:$ip /user:$user /password:$password --% Service where name="W3SVC" call startservice
wmic /node:$ip /user:$user /password:$password --% process where name="test.exe" delete
wmic /node:$ip /user:$user /password:$password --% process call create CommandLine="shutdown /r /f /t 0" CurrentDirectory="c:\"
wmic /node:$ip /user:$user /password:$password --% process where name="test.exe" get Name,CommandLine,ProcessId
wmic创建进程
最新推荐文章于 2022-12-24 10:41:37 发布