New-CMTaskSequenceMedia

SYNOPSIS

Creates task sequence media in System Center Configuration Manager.

SYNTAX

NewBootableMedia (Default)

New-CMTaskSequenceMedia [-BootableMedia] -MediaPath <String> [-AllowUnattendedDeployment <Boolean>]
 -MediaInputType <MediaInputType> [-DriveName <String>] [-MediaSize <MediaSize>] -ProtectPassword <Boolean>
 [-Password <SecureString>] [-Variable <Hashtable>] [-EnablePrestartCommand <Boolean>]
 [-PrestartCommandLine <String>] [-CommandIncludeFile <Boolean>] [-CommandPackageName <String>]
 [-CommandDistributionPointServerName <String>] [-EnableUnknownSupport <Boolean>]
 [-CreateMediaSelfCertificate <Boolean>] [-StartDate <DateTime>] [-ExpirationDate <DateTime>]
 [-ImportCertificatePath <String>] [-ImportCertificatePassword <SecureString>]
 [-UserDeviceAffinity <UserDeviceAffinityType>] -BootImageId <String>
 -BootImageDistributionPointServerName <String> -BootImageManagementPointServerName <String[]>
 -MediaMode <MediaMode> [-AllowUacPrompt] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
 [-Confirm] [<CommonParameters>]

NewStandAloneMedia

New-CMTaskSequenceMedia [-StandaloneMedia] -MediaPath <String> [-AllowUnattendedDeployment <Boolean>]
 -MediaInputType <MediaInputType> [-DriveName <String>] [-MediaSize <MediaSize>] -ProtectPassword <Boolean>
 [-Password <SecureString>] -TaskSequenceId <String> -TaskSequenceDistributionPointServerName <String[]>
 [-Variable <Hashtable>] [-EnablePrestartCommand <Boolean>] [-PrestartCommandLine <String>]
 [-CommandIncludeFile <Boolean>] [-CommandPackageName <String>] [-CommandDistributionPointServerName <String>]
 [-IncludeApplicationDependency <Boolean>] [-AllowUacPrompt] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

NewStandAloneMediaByValue

New-CMTaskSequenceMedia [-StandaloneMedia] -MediaPath <String> [-AllowUnattendedDeployment <Boolean>]
 [-MediaInputType <MediaInputType>] [-DriveName <String>] [-MediaSize <MediaSize>] [-ProtectPassword <Boolean>]
 [-Password <SecureString>] -TaskSequence <IResultObject> -TaskSequenceDistributionPoint <IResultObject[]>
 [-Variable <Hashtable>] [-EnablePrestartCommand <Boolean>] [-PrestartCommandLine <String>]
 [-CommandIncludeFile <Boolean>] [-CommandPackage <IResultObject>]
 [-CommandPackageDistributionPoint <IResultObject>] [-IncludeApplicationDependency <Boolean>] [-AllowUacPrompt]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

NewBootableMediaByValue

New-CMTaskSequenceMedia [-BootableMedia] -MediaPath <String> [-AllowUnattendedDeployment <Boolean>]
 [-MediaInputType <MediaInputType>] [-DriveName <String>] [-MediaSize <MediaSize>] [-ProtectPassword <Boolean>]
 [-Password <SecureString>] [-Variable <Hashtable>] [-EnablePrestartCommand <Boolean>]
 [-PrestartCommandLine <String>] [-CommandIncludeFile <Boolean>] [-CommandPackage <IResultObject>]
 [-CommandPackageDistributionPoint <IResultObject>] [-EnableUnknownSupport <Boolean>]
 [-CreateMediaSelfCertificate <Boolean>] [-StartDate <DateTime>] [-ExpirationDate <DateTime>]
 [-ImportCertificatePath <String>] [-ImportCertificatePassword <SecureString>]
 [-UserDeviceAffinity <UserDeviceAffinityType>] -BootImage <IResultObject>
 -BootImageDistributionPoint <IResultObject> -BootImageManagementPoint <IResultObject[]>
 [-MediaMode <MediaMode>] [-AllowUacPrompt] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
 [-Confirm] [<CommonParameters>]

NewCaptureMedia

New-CMTaskSequenceMedia [-CaptureMedia] -MediaPath <String> -MediaInputType <MediaInputType>
 [-DriveName <String>] -BootImageId <String> -BootImageDistributionPointServerName <String> [-AllowUacPrompt]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

NewCaptureMediaByValue

New-CMTaskSequenceMedia [-CaptureMedia] -MediaPath <String> [-MediaInputType <MediaInputType>]
 [-DriveName <String>] -BootImage <IResultObject> -BootImageDistributionPoint <IResultObject> [-AllowUacPrompt]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

NewPrestagedMedia

New-CMTaskSequenceMedia [-PrestagedMedia] -MediaPath <String> [-AllowUnattendedDeployment <Boolean>]
 -ProtectPassword <Boolean> -TaskSequenceId <String> -TaskSequenceDistributionPointServerName <String[]>
 [-Variable <Hashtable>] [-PrestartCommandLine <String>] [-CommandIncludeFile <Boolean>]
 [-CommandPackageName <String>] [-CommandDistributionPointServerName <String>] -BootImageId <String>
 -BootImageDistributionPointServerName <String> -BootImageManagementPointServerName <String[]>
 -MediaMode <MediaMode> [-CreatedBy <String>] [-Version <String>] [-Comment <String>]
 [-OperatingSystemImagePackageId <String>] [-OperatingSystemImageName <String>]
 -OperatingSystemImageDistributionPointServerName <String> [-Application <IResultObject[]>]
 [-Package <IResultObject[]>] [-DriverPackage <IResultObject[]>] [-ApplicationName <String[]>]
 [-PackageName <String[]>] [-DriverPackageName <String[]>] [-AllowUacPrompt] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

NewPrestagedMediaByValue

New-CMTaskSequenceMedia [-PrestagedMedia] -MediaPath <String> [-AllowUnattendedDeployment <Boolean>]
 [-ProtectPassword <Boolean>] -TaskSequence <IResultObject> -TaskSequenceDistributionPoint <IResultObject[]>
 [-Variable <Hashtable>] [-PrestartCommandLine <String>] [-CommandIncludeFile <Boolean>]
 [-CommandPackage <IResultObject>] [-CommandPackageDistributionPoint <IResultObject>]
 -BootImage <IResultObject> -BootImageDistributionPoint <IResultObject>
 -BootImageManagementPoint <IResultObject[]> -MediaMode <MediaMode> [-CreatedBy <String>] [-Version <String>]
 [-Comment <String>] [-OperatingSystemImagePackage <IResultObject>]
 -OperatingSystemImageDistributionPoint <IResultObject> [-Application <IResultObject[]>]
 [-Package <IResultObject[]>] [-DriverPackage <IResultObject[]>] [-AllowUacPrompt] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The New-CMTaskSequenceMedia cmdlet creates task sequence media in Microsoft System Center Configuration Manager.

EXAMPLES

Example 1: Create task sequence media with the captured media option

PS C:\> New-CMTaskSequenceMedia -CaptureMediaOption -MediaPath "\\Contoso320\Users\Administrator.Contoso319DOM\Desktop\DD\1.iso" -MediaInputType CDDVD -BootImageName "Boot" -DistributionPointServerName "Contoso320.Contoso319DOM.NET"

This command creates task sequence media by specifying the CaptureMediaOption parameter. The command also specifies a value for the MediaPath parameter, and a value for the MediaInputType parameter.

Example 2: Create task sequence media with the standalone media option

PS C:\> $Group = @{"6"="8";}
PS C:\> New-CMTaskSequenceMedia -StandAloneMediaOption -Variable $Group -MediaInputType CDDVD -MediaPath "\\Contoso320\Users\Administrator.Contoso319DOM\Desktop\DD\111 - Copy.iso" -ProtectPassword 0 -TaskSequenceId "CCC0000B" -TaskSequenceDistributionPointServerName "\\Contoso320.Contoso319DOM.NET"

The first command creates a mapping, and then stores the result in the $Group variable.

The second command creates task sequence media by specifying the StandAloneMediaOption parameter.

Example 3: Create task sequence media with the bootable media option

PS C:\> New-CMTaskSequenceMedia -BootableMediaOption -MediaInputType CDDVD -MediaPath "\\Contoso320\Users\Administrator.Contoso319DOM\Desktop\DD\111 - Copy (6).iso" -MediaMode Dynamic -ProtectPassword 0 -BootImageName "boot" -DistributionPointServerName "Contoso320.Contoso319DOM.NET" -ManagementnPointNetworkOperatingSystemPath "Contoso320.Contoso319DOM.NET"

This command creates task sequence media by specifying the BootableMediaOption parameter.

Example 4: Create task sequence media with the prestaged media option

PS C:\> New-CMTaskSequenceMedia -PrestagedMediaOption -MediaMode Dynamic -MediaPath "\\Contoso320\Users\Administrator.Contoso319DOM\Desktop\DD\2.wim"  -ProtectPassword 0 -TaskSequenceId "CCC0000B" -BootImageName "boot" -DistributionPointServerName "Contoso320.Contoso319DOM.NET" -ManagementnPointNetworkOperatingSystemPath "Contoso320.Contoso319DOM.NET" -OperatingSystemImageDistributionPointServerName "Contoso320.Contoso319DOM.NET" -TaskSequenceDistributionPointServerName "\\Contoso320.Contoso319DOM.NET"

This command uses the New-CMTaskSequenceMedia cmdlet to create task sequence media by specifying the PrestagedMediaOption parameter.

PARAMETERS

-AllowUacPrompt

Indicates that User Account Control (UAC) prompts are allowed.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AllowUnattendedDeployment

Indicates whether you allow unattended operating system deployment, which does not prompt for network configuration or optional task sequences.

Type: Boolean
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Application

Specifies applications included in the task sequence.

Type: IResultObject[]
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: Applications

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-ApplicationName

Specifies an array of names of applications included in the task sequence.

Type: String[]
Parameter Sets: NewPrestagedMedia
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-BootImage

Specifies a boot image object.

Type: IResultObject
Parameter Sets: NewBootableMediaByValue, NewCaptureMediaByValue, NewPrestagedMediaByValue
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-BootImageDistributionPoint

Specifies a boot image distribution point.

Type: IResultObject
Parameter Sets: NewBootableMediaByValue, NewCaptureMediaByValue, NewPrestagedMediaByValue
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-BootImageDistributionPointServerName

Specifies a boot image distribution point server name.

Type: String
Parameter Sets: NewBootableMedia, NewCaptureMedia, NewPrestagedMedia
Aliases: DistributionPointServerName

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-BootImageId

Specifies the ID of the boot image package associated with the task sequence media.

Type: String
Parameter Sets: NewBootableMedia, NewCaptureMedia, NewPrestagedMedia
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-BootImageManagementPoint

Specifies a boot image management point.

Type: IResultObject[]
Parameter Sets: NewBootableMediaByValue, NewPrestagedMediaByValue
Aliases: BootImageManagementPoints

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-BootImageManagementPointServerName

Specifies a boot image management point server name.

Type: String[]
Parameter Sets: NewBootableMedia, NewPrestagedMedia
Aliases: ManagementPointServerName, BootImageManagementPointServerNames

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-BootableMedia

Type: SwitchParameter
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases: BootableMediaOption

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CaptureMedia

Type: SwitchParameter
Parameter Sets: NewCaptureMedia, NewCaptureMediaByValue
Aliases: CaptureMediaOption

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CommandDistributionPointServerName

Specifies a name for a distribution point server from which the cmdlet acquires the package. The CommandPackageName parameter specifies the package name.

Type: String
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewPrestagedMedia
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CommandIncludeFile

Indicates whether to include a file.

Type: Boolean
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CommandPackage

Specifies a command package.

Type: IResultObject
Parameter Sets: NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CommandPackageDistributionPoint

Specifies a command package distrubtion point.

Type: IResultObject
Parameter Sets: NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CommandPackageName

Specifies a package name for the command specified by the CommandLine parameter.

Type: String
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewPrestagedMedia
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Comment

Specifies a comment for a prestaged media file.

Type: String
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-CreateMediaSelfCertificate

Indicates whether the media includes a self-signed certificate. Use this parameter only in mixed-mode environments.

Type: Boolean
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CreatedBy

Specifies the name of an individual or organization responsible for the creation of the prestaged media.

Type: String
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DriveName

Specifies a drive name.

Type: String
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue, NewCaptureMedia, NewCaptureMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DriverPackage

Specifies a driver package.

Type: IResultObject[]
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: DriverPackages, PackageDriver, PackageDrivers

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-DriverPackageName

Specifies the name of a driver package.

Type: String[]
Parameter Sets: NewPrestagedMedia
Aliases: PackageDriverName

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-EnablePrestartCommand

Indicates whether to enable a prestart command. A prestart command is a script or executable that runs before the task sequence.

Type: Boolean
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-EnableUnknownSupport

Indicates whether to provision unknown systems for operating system deployment.

Type: Boolean
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ExpirationDate

Specifies an expiration date, in D.HH:MM:SS format, for bootable media.

Type: DateTime
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ImportCertificatePassword

Specifies a password for an import certificate, as a secure string. An import certificate is a PKI-issued certificate added to the boot media for client authentication and communication with a System Center Configuration Manager site.

Type: SecureString
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ImportCertificatePath

Specifies a path for an import certificate to add to the boot media.

Type: String
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludeApplicationDependency

Indicates that the cmdlet detects associated application dependencies and adds them to this media.

Type: Boolean
Parameter Sets: NewStandAloneMedia, NewStandAloneMediaByValue
Aliases: IncludeApplicationDependencies

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MediaInputType

Specifies a media input type. The acceptable values for this parameter are:

  • CDDVD
  • USB
Type: MediaInputType
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewCaptureMedia
Aliases: 
Accepted values: Usb, CdDvd, Hd

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: MediaInputType
Parameter Sets: NewStandAloneMediaByValue, NewBootableMediaByValue, NewCaptureMediaByValue
Aliases: 
Accepted values: Usb, CdDvd, Hd

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MediaMode

Specifies a media mode. The acceptable values for this parameter are:

  • Dynamic
  • SiteBased
Type: MediaMode
Parameter Sets: NewBootableMedia, NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: 
Accepted values: Dynamic, SiteBased

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: MediaMode
Parameter Sets: NewBootableMediaByValue
Aliases: 
Accepted values: Dynamic, SiteBased

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MediaPath

Specifies a path to the media.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MediaSize

Specifies the size of the media. The acceptable values for this parameter are:

  • None
  • Size4GB
  • Size650MB
  • Size8GB
  • SizeUnlimited
Type: MediaSize
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue
Aliases: 
Accepted values: None, Size650MB, Size4GB, Size8GB, SizeUnlimited

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OperatingSystemImageDistributionPoint

Type: IResultObject
Parameter Sets: NewPrestagedMediaByValue
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-OperatingSystemImageDistributionPointServerName

Specifies the name of a distribution point server for an operating system image.

Type: String
Parameter Sets: NewPrestagedMedia
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OperatingSystemImageName

Specifies the name of an operating system image.

Type: String
Parameter Sets: NewPrestagedMedia
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OperatingSystemImagePackage

Type: IResultObject
Parameter Sets: NewPrestagedMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-OperatingSystemImagePackageId

Specifies the identifier of an operating system image package.

Type: String
Parameter Sets: NewPrestagedMedia
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Package

Specifies package objects.

Type: IResultObject[]
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: Packages

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-PackageName

Specifies an array of package names.

Type: String[]
Parameter Sets: NewPrestagedMedia
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Password

Specifies a password, as a secure string.

Type: SecureString
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PrestagedMedia

Type: SwitchParameter
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: PrestagedMediaOption, PrestageMedia

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PrestartCommandLine

Specifies a pre-start command line.

Type: String
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: CommandLine

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProtectPassword

Indicates whether to protect the media with a password.

Type: Boolean
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewPrestagedMedia
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: Boolean
Parameter Sets: NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-StandaloneMedia

Type: SwitchParameter
Parameter Sets: NewStandAloneMedia, NewStandAloneMediaByValue
Aliases: StandAloneMediaOption

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-StartDate

Specifies a start date and time, in D.HH:MM:SS format.

Type: DateTime
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TaskSequence

Specifies a task sequence object.

Type: IResultObject
Parameter Sets: NewStandAloneMediaByValue, NewPrestagedMediaByValue
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-TaskSequenceDistributionPoint

Specifies a task sequence distribution point.

Type: IResultObject[]
Parameter Sets: NewStandAloneMediaByValue, NewPrestagedMediaByValue
Aliases: TaskSequenceDistributionPoints

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-TaskSequenceDistributionPointServerName

Specifies an array of available distribution point servers for a task sequence.

Type: String[]
Parameter Sets: NewStandAloneMedia, NewPrestagedMedia
Aliases: TaskSequenceDistributionPointServerNames

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TaskSequenceId

Specifies an ID for a task sequence.

Type: String
Parameter Sets: NewStandAloneMedia, NewPrestagedMedia
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UserDeviceAffinity

Specifies user device affinity. User device affinity associates users with a destination computer. The acceptable values for this parameter are:

  • AdministratorApproval
  • AutoApproval
  • DoNotAllow
Type: UserDeviceAffinityType
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases: 
Accepted values: DoNotAllow, AdministratorApproval, AutoApproval

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Variable

Specifies a task sequence variable. The task sequence variable consists of a name and a value.

Type: Hashtable
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Version

Specifies the version information for the media.

Type: String
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: 

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
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Get-CMTaskSequence