This module allows you to manage windows licensing via slmgr.vbs
salt '*' license.install XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
salt.modules.win_license.
activate
()Attempt to activate the current machine via Windows Activation
CLI Example:
salt '*' license.activate
salt.modules.win_license.
info
()Return information about the license, if the license is not correctly activated this will return None.
CLI Example:
salt '*' license.info
salt.modules.win_license.
install
(product_key)Install the given product key
CLI Example:
salt '*' license.install XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
salt.modules.win_license.
installed
(product_key)Check to see if the product key is already installed.
5 digits of the license.
CLI Example:
salt '*' license.installed XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Generated on August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy