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
$appObject = Get-CMAppliction -Name "theApplication"
Move-CMObject -FolderPath "AB1:\Application\TestFolder" -InputObject $appObject
I recieve the following error:
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.