Top > Using import templates > PowerShell Import Template Parameters
The following table contains a list of the parameters used by the cmdlet. It includes those specific to loading import templates. For a description of PowerShell general parameters that have been implemented, see parameters whose type is “PowerShell” in the table of Parameters used by the cmdlet. Parameters can also be placed into a separate source, such as a csv file, that can be piped into the cmdlet. Some examples of using import parameters are provided in PowerShell sample calls.
Parameter |
Position |
Description |
- LiteralPath |
0 |
(Mandatory) The full path from the root directory to the source template definition file, including the file name. |
- Name |
1 |
(Optional) The name to use when creating a new template, or to search for when updating an existing template. If the name is not supplied, the file name will be used instead. |
- OnErrorAction |
2 |
(Optional) The action to take if the import process encounters an error. The values that are understood include Abort and Skip. If an invalid value is used, or if a value is not provided, the cmdlet uses the default value of Abort. Note: This does not override or in any way relate to the PowerShell default parameter -ErrorAction. |