PowerShell Logo Small

Set-WindowsEdition



This is the built-in help made by Microsoft for the command 'Set-WindowsEdition', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Changes a Windows image to a higher edition.

SYNTAX


Set-WindowsEdition [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] [-SystemDrive <String>] [-WindowsDirectory <String>] -Edition <String> -Path
<String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-WindowsEdition cmdlet changes a Windows image to a higher edition. Use Get-WindowsEdition with the Target parameter to find which editions are available in an image.


You should not use the Set-WindowsEdition on an image that has already been changed to a higher edition. It is recommended that you use this option on the lowest edition
available in the edition family.


You can only change the edition on a running operating system for Windows Server images, not online Windows client images. The ProductKey parameter is required for changing
online Server images.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=289366
Get-WindowsEdition
Set-WindowsProductKey

REMARKS

<

Examples


Example 1

PS C:\>Set-WindowsEdition –Path c:\offline –Edition Ultimate



This command changes the edition of the Windows image that is mounted to c:\offline to Ultimate.