CmdID / PowerShell / Cmdlets / New
New-WindowsImage
Captures an image of a drive to a new WIM file. Windows Server PowerShell reference
From the Windows Server PowerShell reference 15 parameters Its page in the reference
Parameters
-CapturePathSpecifies the drive or path to the Windows operating system that is to be captured to an image file.-CheckIntegrityDetects and tracks .wim file corruption when used with the Add-WindowsImage, Dismount-WindowsImage, or Save-WindowsImage cmdlet.-CompressionTypeSpecifies the type of compression used for the initial capture operation:-ConfigFilePathSpecifies the location of a configuration file that lists exclusions for image capture commands and compress commands.-DescriptionSpecifies the description of the image to be captured.-ImagePathSpecifies the location of a WIM file.-LogLevel, -LLSpecifies the maximum output level shown in the logs.-LogPath, -LPSpecifies the full path and file name to log to.-NameSpecifies the name of an image in a WIM file.-NoRpFixDisables the reparse point tag fix.-ScratchDirectorySpecifies a temporary directory that will be used when extracting files for use during servicing.-Setbootable, -SBMarks a volume image as being a bootable image.-SupportEaCaptures extended attributes.-VerifyChecks for errors and file duplication.-WIMBootSpecifies that the image will be formatted to install on a Windows Image Format Boot (WIMBoot) system.