Publish-CMPrestageContentTaskSequence

System Center 2012 R2

Publish-CMPrestageContentTaskSequence

Distributes the content that a task sequence uses to a distribution point.

Syntax

Parameter Set: SearchByIdMandatory_TaskSequence
Publish-CMPrestageContentTaskSequence -DistributionPointName <String> -FolderName <String> -TaskSequenceId <String[]> [-Description <String> ] [-DisableIncludeApplicationDependencies] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByNameMandatory_TaskSequence
Publish-CMPrestageContentTaskSequence -DistributionPointName <String> -FolderName <String> -TaskSequenceName <String[]> [-Description <String> ] [-DisableIncludeApplicationDependencies] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory_TaskSequence
Publish-CMPrestageContentTaskSequence -DistributionPointName <String> -FolderName <String> -TaskSequence <IResultObject> [-Description <String> ] [-DisableIncludeApplicationDependencies] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Publish-CMPrestageContentTaskSequence cmdlet distributes the content that a task sequence uses to a distribution point. Optionally, you can exclude the application dependencies for applications indicated in the task sequence.

Parameters

-Description<String>

Specifies a description for the content to prestage.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DisableIncludeApplicationDependencies

Indicates that distributed content excludes application dependencies for applications indicated in the task sequence.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DistributionPointName<String>

Specifies the name of a distribution point that is associated with the task sequence.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-FolderName<String>

Specifies a folder name. The folder that you specify contains prestaged content files.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-TaskSequence<IResultObject>

Specifies a task sequence object. To obtain a task sequence object, use the Get-CMTaskSequence cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-TaskSequenceId<String[]>

Specifies an array of IDs of task sequences.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-TaskSequenceName<String[]>

Specifies an array of names of task sequences.


Aliases

none

Required?

true

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 (http://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: Publish content required by a task sequence

This command copies content required by the task sequence ContosoDeploymentSequence to the distribution point distribution-server.contoso.com.


PS C:\> Publish-CMPrestageContentTaskSequence -DistributionPointName "distribution-server.contoso.com" -FolderName "ToBePublished" -TaskSequenceName "ContosoDeploymentSequence"

Related topics

Community Additions

ADD
Show: