Share via

exporting \importing application with dependency

Richa Kumari 326 Reputation points
2021-11-24T06:56:21.557+00:00

Hello,
I am working to exporting and importing the application using export
Export-CMApplication -Name $name.name -Path ("\SCCMDEMO001\exported files\Application\"+$name.name+".zip") -IgnoreRelated -Comment "Application export" -Force

I have exported the a application with having some dependency application within it.

wants to know how should import this application. I have imported dependency first then tha main app import.It worked.
But wants to know how to export the main apps with all dependency apps not like individual dependent app one by one export and import.

Please suggest
Thank
Rich

Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 49,441 Reputation points Microsoft External Staff
    2021-11-25T02:37:37.693+00:00

    Hi, @Richa Kumari
    Thank you for posting in Microsoft Q&A forum.

    -IgnoreRelated indicates that related objects, such as application dependencies, superseded applications, or related categories and global conditions, are not exported.
    You may try to remove the parameter -IgnoreRelated


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.