Import-CMTaskSequence

Imports a task sequence.

Syntax

Import-CMTaskSequence
      [-Confirm]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-IgnoreDependency]
      -ImportFilePath <String>
      [-WhatIf]
      [<CommonParameters>]

Description

The Import-CMTaskSequence cmdlet imports a task sequence into Microsoft System Center Configuration Manager.

Examples

Example 1: Import a task sequence

PS C:\>Import-CMTaskSequence -ImportFilePath "\\Server1\TS\TaskSequence.zip"

This command imports a task sequence from the specified location.

Required Parameters

-ImportFilePath

Specifies a path to the file to import. To create a file to import, use the Export-CMTaskSequence cmdlet.

Type:String
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
-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
-IgnoreDependency

Indicates that the import process ignores dependencies in the task sequence.

Type:SwitchParameter
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