New-CMOperatingSystemInstaller

New-CMOperatingSystemInstaller

Adds an operating system installer.

Syntax

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

Detailed Description

The New-CMOperatingSystemInstaller cmdlet adds an operating system installer to a Microsoft System Center 2012 Configuration Manager site. An operating system installer is an installation package that contains all the files that Microsoft System Center 2012 Configuration Manager needs to install a Windows operating system on a reference computer.

Parameters

-Description<String>

Specifies a description for an operating system installer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies a name of the operating system installer.

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 installer.

Aliases

PkgSourcePath

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Version<String>

Specifies the version of an operating system installer.

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: Add an operating system installer

This command adds an operating system installer named INSTALL01 and specifies the network path to the installation source files of the operating system installer.

PS C:\> New-CMOperatingSystemInstaller -Name "INSTALL01" -Path "\\Contoso01\CM\Win8Install"

Get-CMOperatingSystemInstaller

New-CMOperatingSystemInstaller

Remove-CMOperatingSystemInstaller