标签: windows hostname wmic
我尝试使用以下命令更改远程主机名,但执行过程始终报告错误“无效动词切换”。有人知道为什么吗?
wmic /node:host /password:pwd /user:user process call create "wmic computersystem where caption="'%ComputerName%'" call rename "KF-SQL-71""