Active IQ Unified Manager Discussions
All, how do you get object properties that match the CLI -instance commands?For example, how would you get vserver.rootvolumesecuritystyle - $v.rootvolumesecuritystyle returns blankUsing get-ncVserver | getMember may or may not return a property that works. There are other ones like get-ncvol.snapshot-policy
By default powershell does not populate subattributes. You can get all of the volume info with this command.
$vols = Get-NcVol -Template -Fill
$vols = Get-NcVol
The -fiil attribute forces the complete array to populate.
If you are only targeting a specific Sub attribute you can get it with this command.
$v = Get-NcVol -TemplateInitialize-NcObjectProperty $v VolumeStateAttributes$v = Get-NcVol
if you are trying to determine what is in a varible
Hope this helps
Also - you might want to post this is the powershell forum.. They made it hard to find, but it's located under microsoft virtualization
Join our Discord Community