salt.states.win_system

Management of Windows system information

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)

2016.3.0 新版功能.

Manage the hostname of the computer

name
The hostname to set