Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

NEW Configuration Manager Powershell Module Move-CMObject Error

thecodehaseyes

New Member
Messages
1
Reaction score
0
Points
1
I am using a Powershell Module (ConfigurationManager) to create config manager applications etc.

The applications are created successfully in the root folder and I want to move them to another folder.

When using the following Powershell I recieve the following error:

$appObject = Get-CMAppliction -Name "theApplication"
Move-CMObject -FolderPath "AB1:\Application\TestFolder" -InputObject $appObject

Cannot bind parameter -InputObject. Cannot convert the "[SecurityVerbs (-1)]"

Any ideas?
Thanks

I have also tried moving an application that was created manually using the script (same error), also the folder does exist in the correct location.
 
I am using a Powershell Module (ConfigurationManager) to create config manager applications etc.

The applications are created successfully in the root folder and I want to move them to another folder.

When using the following Powershell I recieve the following error:

$appObject = Get-CMAppliction -Name "theApplication"
Move-CMObject -FolderPath "AB1:\Application\TestFolder" -InputObject $appObject

Cannot bind parameter -InputObject. Cannot convert the "[SecurityVerbs (-1)]"

Any ideas?
Thanks

I have also tried moving an application that was created manually using the script (same error), also the folder does exist in the correct location.
look like a permission issue. i tried your commands on my site server and it worked. just in case you missed it your first command is missing an "A" at application
 
Back
Top