salt.states.win_system

Management of Windows system information

New in version 2014.1.0.

This state is used to manage system information such as the computer name and description.

ERIK-WORKSTATION:
  system.computer_name: []

This is Erik's computer, don't touch!:
  system.computer_desc: []
salt.states.win_system.computer_desc(name)

Manage the computer's description field

name
The desired computer description
salt.states.win_system.computer_name(name)

Manage the computer's name

name
The desired computer name
salt.states.win_system.hostname(name)

New in version 2016.3.0.

Manage the hostname of the computer

name
The hostname to set