Edit

OSLicense Module

The OSLicense module provides commands to retrieve Windows licensing information, configure activation, and manage operating system, Active Directory-based, Key Management Service (KMS), and subscription licensing.

The module requires Windows PowerShell 5.1. Windows includes it on supported systems. The applicable Windows update KB number for module availability still needs confirmation.

OSLicense

Cmdlet Description
Get-ADLicenseInfo

Gets Active Directory-based activation license information.

Get-KmsLicenseInfo

Gets Key Management Service (KMS) licensing information.

Get-OSLicenseInfo

Gets Windows operating system licensing information.

Get-SubscriptionLicenseInfo

Gets Windows subscription licensing information.

Invoke-ADLicense

Performs Active Directory-based licensing operations.

Invoke-KmsLicense

Clears selected Key Management Service (KMS) configuration overrides.

Invoke-OSLicense

Performs a selected Windows operating system licensing operation.

Invoke-SubscriptionLicense

Invokes a Windows subscription licensing operation.

Set-KmsLicenseInfo

Sets the Key Management Services (KMS) license configuration.

Set-OSLicenseInfo

Sets the Windows volume activation type.

Set-SubscriptionLicenseInfo

Sets the subscription license configuration.