This is an old revision of the document!
wmic computersystem where caption='currentname' rename 'newname' shutdown -r -t 0