NEWConfiguration Manager Powershell Module Move-CMObject Error

thecodehaseyes

thecodehaseyes

New Member
1
0
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.

Forum statistics

Threads
5,806
Messages
22,598
Members
12,739
Latest member
Andrew Best