Condividi tramite


Get-WindowsDeveloperLicense

Get-WindowsDeveloperLicense

Provides information about a developer license for the current computer.

Syntax

Get-WindowsDeveloperLicense [ <CommonParameters>]

Detailed Description

The Get-WindowsDeveloperLicense cmdlet provides information about the developer license present on the current computer. For more information about developer licenses, see Get a developer license (Windows Store apps) (Windows) (https://msdn.microsoft.com/en-us/library/windows/apps/hh974578.aspx) in the Microsoft Developer Network library.

The cmdlet gets an object that contains the expiration date for the developer license and a Boolean value that indicates whether that license is valid. If the cmdlet does not find a developer license, it informs you that there is no developer license on the current computer.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • WindowsDeveloperLicense

Examples

Example 1: Get developer license status

This command checks for a developer license for the current computer. If there is a license on the computer, the cmdlet displays whether it is valid and when it expires. If the computer does not have a developer license, the cmdlet returns an error.

PS C:\> Get-WindowsDeveloperLicense

Unregister-WindowsDeveloperLicense

Show-WindowsDeveloperLicenseRegistration