Updated: October 17, 2013
Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2
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) (http://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.
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.
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.