How to Import\Export SCCM Application Deployments? Is there a PowerShell command available?

Murtaza Morbiwala 0 Reputation points
2024-04-19T09:23:15.3266667+00:00

I am trying to get an SCCM Application Deployments properties using PowerShell command. I am trying to export and import these properties from one environment to another. For Application we have the commands to do so like "Export-CMApplication" but this does not export Deployments properties.

So does Microsoft have a command to export Deployments properties too ?

Please see below image for reference of Deployments and its properties I am looking for.

SCCM Deployments

Could someone suggest a solution for it. Thanks in advance.

Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
459 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 40,401 Reputation points Microsoft Vendor
    2024-04-22T02:29:20.07+00:00

    Hi, @Murtaza Morbiwala

    Thank you for posting in Microsoft Q&A forum.

    These cmdlets Export-CMApplication and Import-CMApplication allow you to export and import applications between two hierarchies, including dependencies, supersedence relationships, conditions, and virtual environments. However, these cmdlets do not export deployment properties.

    To get the properties of an SCCM application deployment using PowerShell, you can use the Get-CMApplicationDeployment cmdlet. This cmdlet retrieves the deployment properties of an application, including the collection name, deployment name, deployment type, and installation behavior.

    https://learn.microsoft.com/en-us/powershell/module/configurationmanager/get-cmapplicationdeployment?view=sccm-ps


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".