Invoke-ASMigration
Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition and with Workflow Manager.
Use the Invoke-ASMigration to convert applications to intunewin format, and then publish to Intune distribution system.
Example
Invoke-ASMigration -SourceConnectionName 'SCCM' -DestinationConnectionName 'Intune' -ApplicationID '16823920' -ConvertMSItoIntunewin 1 -TargetASGroupPath 'Applications'
Parameters
The Invoke-ASMigration has the following parameters:
Parameter |
Description |
||||||
SourceConnectionName |
(Required) Specify a ConfigMgr connection name. |
||||||
DestinationConnectionName |
(Required) Specify Intune Distribution Connection name. |
||||||
ApplicationID |
(Required) Specify the ApplicationID from ConfigMgr of the application you are migrating. Get the ApplicationID from the ConfigMgr using Get-ASDeploymentSystemPackageTree. |
||||||
ConvertMSItoIntunewin |
(Optional) Choose one of the following option:
Note:If switch is not provided, then the default value will be set to 1. |
||||||
TargetASGroupPath |
Use to specify the destination group in the Application Catalog tree for the imported application. Note:When specifying this path, exclude the root folder (Applications). |
Return Values
Application is Successfully migrated to DestinationConnectionName.