New-CMOperatingSystemImage

Creates an operating system image.

Syntax

New-CMOperatingSystemImage
   [-Confirm]
   [-Description <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   -Name <String>
   -Path <String>
   [-Version <String>]
   [-WhatIf]
   [<CommonParameters>]

Description

The New-CMOperatingSystemImage cmdlet adds an operating system image to a Microsoft System Center Configuration Manager site. Operating system images are .wim format files and represent a compressed collection of reference files and folders that are System Center Configuration Manager requires to successfully install and configure an operating system on a computer.

Examples

Example 1: Create an operating system image

PS C:\> New-CMOperatingSystemImage -Name "STANDARD_WIN7" -Path "\\Contoso01\CM\Images\STANDARD_WIN7.wim"

This command creates the operating system image named STANDARD_WIN7 and specifies the network path to the installation source files of the operating system image.

Required Parameters

-Name

Specifies the name of an operating system image.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Path

Specifies the network path to the installation source files of an operating system image source .wim file.

Type:String
Aliases:PackageSourcePath
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

Specifies a description for the operating system image.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Version

Specifies a version of the operating system image.

Type:String
Required:False
Position:Named
Default value:None
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
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False