Forum Discussion
NodeAddressV2 should be in the latest version of the PowerShell Snapin for iControl. What shows up when you type in
PS> (Get-F5.iControl).LocalLBNodeAddressV2 | Get-Member
Do you see a list of available commands or do you get this message
"Get-Member : No object has been specified to the get-member cmdlet?
If you see the error message, then you likely don't have the latest set of cmdlet's installed. The latest one should be
6/21/2012 11:28am 985088 iControlSnapinSetup.msi
The dates may be off if you download it but the size should match. You'll then likely need to re-regsiter the cmdlet with the setupSnapin.ps1 script included in the distribution.
Once you have ruled out that you don't have the correct snapin, the method you are looking at looks like it takes two string arrays. You are passing in a string array for the 1st parameter but a string scalar for the 2nd. PowerShell is usually good about fixing this for you but that may be the issue. Do something like this
PS> (Get-F5.iControl).LocalLBNodeAddressV2.set_description( (, "10.10.10.10"), (, "my description") )
If that doesn't work, pass along the exact error and I'll see what I can figure out.
Oh, and sorry about your struggles with the iControl piece of PowerShell. I'll have to loop back and do some more how-tos on how to conver the iControl APIs into the PowerShell equivalants.
-Joe