Import-CMTaskSequence
Import-CMTaskSequence
Imports a Configuration Manager task sequence.
Syntax
Parameter Set: Default
Import-CMTaskSequence -ImportFilePath <String> [-IgnoreDependency] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Import-CMTaskSequence cmdlet imports a Microsoft System Center 2012 SP1 Configuration Manager task sequence.
Parameters
-IgnoreDependency
Indicates that the import process ignores dependencies in the task sequence.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-ImportFilePath<String>
Specifies a path to the import file in Configuration Manager. To create a file to import, use the Export-CMTaskSequence cmdlet.
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 (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: Import a task sequence from a file
This command imports a task sequence by using the file named TaskSequence.zip.
PS C:\> Import-CMTaskSequence -ImportFilePath "\\Contoso-01\Users\PattiFuller\Desktop\TaskSequence.zip"