Export (0) Print
Expand All
Expand Minimize

Import-CMApplication

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Import-CMApplication

Imports an application in Configuration Manager.

Syntax

Parameter Set: Default
Import-CMApplication -FilePath <String> [-ImportActionType <ImportActionType> {NotSet | Skip | DirectImport | Rename | Overwrite | ImportFail} ] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Import-CMApplication cmdlet imports apackage created by the Export-CMApplication cmdlet. A package contains one or more applications and related objects, such as catalogs. If the package contains content, the application package imports the content, or includes a reference to the content.

Parameters

-FilePath<String>

Specifies a file path for the application.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ImportActionType<ImportActionType>

Specifies an import action type for the application. The acceptable values for this parameter are:

-- ImportFail. Application and dependencies will not be imported.
-- NotImport. Map objects due to exact match of scope, version, or name.
-- DirectImport. Import objects.
-- Overwrite. Map objects despite name or scope duplication.
-- Rename. Create new.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


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.

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 an application by using a file path

This command imports an application by using the specified file path.


PS C:\> Import-CMApplication -FilePath "\\Contoso01\CM\Toolbox\Test.zip"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft