PowerShell Logo Small

Optimize-WindowsImage



This is the built-in help made by Microsoft for the command 'Optimize-WindowsImage', 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

Configures a Windows image with specified optimizations.

SYNTAX


Optimize-WindowsImage [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] [-SystemDrive <String>] [-WindowsDirectory <String>] -OptimizationTarget
<String> -Path <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Performs specified configurations to an offline image.


Optimize-WindowsImage only applies to Windows 8.1 Update images that have been captured or exported as a Windows image file boot (WIMBoot) file. Only use
Optimize-WindowsImage with images that will be used for WIMBoot supported systems. If Optimize-WindowsImage is used with a non-WIMBoot supported system image, Windows may
not work as expected, after installation on a non-WIMBoot supported device.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/p/?linkid=389089

REMARKS

<

Examples


Example 1

PS C:\>Optimize-WindowsImage -Path c:\ -OptimizationTarget "WIMBoot"



This command configures the Windows image located in the c:\ directory as a WIMBoot system.