
UNSOLVED
TV
trevor.valentin
1 Rookie
•
2 Posts
0
20819
October 15th, 2013 09:00
Powershell - Compellent "Cannot bind parameter"
So, I am new to the Compellent/Powershell scene and decided that I would try to some simple Volume Folder creations. (We have 3 new units and I don't want to manually create every folder, volume, etc.). I feel like I am running into a newb problem here, but I have banged my head long enough.
Here's the issue. I can run:
New-SCVolumeFolder SCRIPT_TEST -Connection $conn
No problems, the folder is created and all is right with the world. But if I try to get a little complicated:
New-SCVolumeFolder "Auto Tier" -ParentSCVolumeFolder SCRIPT_TEST -Connection $conn
I get this error:
Cannot bind parameter 'SCVolumeFolder'. Cannot convert the "SCRIPT_TEST" value of type "System.String" to type "SCCommandSet.SCObjects.SCVolumeFolder".
I get the same bind error if I try to run:
Remove-SCVolumeFolder SCRIPT_TEST -Connection $conn
This happens whether I enclose the folder name in quotes, or set a variable and pass the variable. What am I missing?
Responses (0)
Solutions (0)
