Manage Windows features via the ServerManager powershell module
Install a feature
Note: Some features requires reboot after un/installation, if so until the server is restarted Other features can not be installed !
Note: Some features takes a long time to complete un/installation, set -t with a long timeout
CLI Example:
salt '*' win_servermanager.install Telnet-Client
salt '*' win_servermanager.install SNMP-Services True
List available features to install
CLI Example:
salt '*' win_servermanager.list_available
List installed features
CLI Example:
salt '*' win_servermanager.list_installed
Remove an installed feature
Note
Some features require a reboot after installation/uninstallation. If one of these features are modified, then other features cannot be installed until the server is restarted. Additionally, some features take a while to complete installation/uninstallation, so it is a good idea to use the -t option to set a longer timeout.
CLI Example:
salt -t 600 '*' win_servermanager.remove Telnet-Client
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.7.1
22.16.229. salt.modules.win_repo
22.16.231. salt.modules.win_service
Upcoming SaltStack events, webinars and local meet ups and user groups.