Windows – Rename computer from command line

Windows – Rename computer from command line

On local:

WMIC computersystem where caption=’CURRENT‘ rename NEW

From server changing remotely:

WMIC /node:”CURRENT” computersystem call rename “NEW“

2018-06-11T19:28:07+00:00