标签:style blog http color io ar for sp div
Function Rename-Computer( $NewName,$AutoRestart=$false ) { $computer=Get-WMIObject Win32_ComputerSystem $computer.Rename( $NewName ) | out-null if($AutoRestart) { Restart-Computer -Force } }
from:http://www.pstips.net/powershell-rename-computer.html
标签:style blog http color io ar for sp div
原文地址:http://www.cnblogs.com/dreamer-fish/p/4011340.html