Get-WindowsDeveloperLicense
Provides information about a developer license for the current computer.
Get-WindowsDeveloperLicense []
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/library/windows/apps/hh974578.aspx (http://msdn.microsoft.com/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.
PS C:\> Get-WindowsDeveloperLicense
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.