An account will enable you to access:
Don't have an account?
ONTAP Discussions
Hello,
Actually with the Ontap shell client you can set or display a volume's comment.
volume show -volume XYZ
And you get a list of properties and one of those is a "Comment".
How can you display (or set) a volume comment with the "powershell ontap toolkit 9.6"?
At my knowledge there is no such property in the get-ncvol & set-ncvol CMDLET.
Is it even possible to use that property with the toolkit?
Thank you for your help!
Kind regards,
Didier
Solved! See The Solution
Found it ... it is in the VolumeIdAttributes hash table.
For the archives, here it is:
Get-NcVol | select name,state,totalsize,used,available,dedupe,aggregate,vserver, @{N='Comment';E={$_.VolumeIdAttributes.Comment}} | ft -autosize
View solution in original post