Unregister-WindowsDeveloperLicense

Removes the developer license from the current computer.

Syntax

Unregister-WindowsDeveloperLicense
          [-Force]
          [-WhatIf]
          [-Confirm]
          [<CommonParameters>]

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)http://msdn.microsoft.com/en-us/library/windows/apps/hh974578.aspx (http://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.

Examples

Example 1: Remove a developer license

PS C:\> Unregister-WindowsDeveloperLicense

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.

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Force

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

Type:SwitchParameter
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.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False