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.
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

Forum statistics

Threads
5,810
Messages
22,638
Members
12,770
Latest member
Climaxhosting