CmdID / PowerShell / Cmdlets / Unregister
Unregister-WindowsDeveloperLicense
Disables Developer Mode on the current computer. Windows Server PowerShell reference
From the Windows Server PowerShell reference 3 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ForceDisables Developer Mode without prompting you for confirmation.-WhatIf, -wiShows what would happen if the cmdlet runs.