Unregister-WindowsDeveloperLicense

Unregister-WindowsDeveloperLicense

Removes the developer license from the current computer.

Syntax

Parameter Set: __AllParameterSets
Unregister-WindowsDeveloperLicense [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Unregister-WindowsDeveloperLicense cmdlet removes a developer license from the current computer. If you remove the developer license, you can no longer install and test your apps. Any developer apps no longer run 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.

You need Administrator rights to remove a developer license. If the cmdlet cannot find a developer license, it returns an error that informs you that there is no developer license on the current computer.

Parameters

-Force

Removes a developer license without prompting you for confirmation. By default, the cmdlet prompts you for confirmation before it proceeds.

Aliases

none

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<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.

Examples

Example 1: Remove a developer license

This command removes a developer license from the current computer. The cmdlet prompts you for confirmation before it removes the license. To skip this prompt, use the Force parameter.

PS C:\> Unregister-WindowsDeveloperLicense

Get-WindowsDeveloperLicense

Show-WindowsDeveloperLicenseRegistration