How to move objects in Configuration Manager Admin Console with PowerShell

Starting with Configuration Manager 2012 R2 we have a cmdlet called Move-CMObject. This cmdlet allows to move different objects in Admin Console. We still don’t have a cmdlet that allows to create ConfigMgr Admin Console folders but if necessary you can use this code to create folders.

Here are 6 different examples How to move objects in ConfigMgr Admin Console

As you see it is really easy to move objects. You can use –InputObject or -ObjectId parameter.

 

Best

About the Author:

Kaido Järvemets
Configuration Manager MVP

7 Comments

  1. Rickard May 24, 2016 at 14:35 - Reply

    Hi.
    I have problems with the “Move-CMObject” function in the latest Cmdlets released 0517, is there anyone more that has problems?.

    Move-CMObject : No object corresponds to the specified parameters.

    BR
    Rickard

    • HK May 24, 2016 at 18:40 - Reply

      I am seeing the same error with Move-CMObject. I am attempting to use the latest cmdlets with SCCM 2012 R2 SP1. I have not tried earlier versions of the cmdlets.

  2. Damon May 24, 2016 at 20:30 - Reply

    My driver import script was working fine with previous version of Configmgr cmdlets with SCCM 2012 R2 SP1. Can no longer get Move-CMObject to work without reverting to previous version cmdlets.

  3. Kaido Järvemets
    Kaido Järvemets May 24, 2016 at 21:12 - Reply
  4. Rob March 13, 2017 at 2:32 - Reply

    Looks like Move-CMObject is fixed in 1610.

  5. vinod August 1, 2017 at 16:22 - Reply

    Hi,
    Could you please advise on PS for moving folders(Collection subfolders, Application subfolders, Package Subfolders).
    I am trying to move all the Package sub-folders into a folder.

    Thanks.

Leave A Comment