Share via


New-CMOperatingSystemImage

New-CMOperatingSystemImage

Creates an operating system image.

Syntax

Parameter Set: New
New-CMOperatingSystemImage -Name <String> -Path <String> [-Description <String> ] [-Version <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

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

Parameters

-Description<String>

Specifies a description for the operating system image.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of an operating system image.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Path<String>

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

Aliases

PkgSourcePath

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Version<String>

Specifies a version of the operating system image.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Create an operating system image

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.

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

Get-CMOperatingSystemImage

Set-CMOperatingSystemImage

Remove-CMOperatingSystemImage

Get-CMOperatingSystemImageUpdateSchedule