Software Development Kit (SDK) and API Discussions

Powershell Toolkit - rename a volume OnTap 9.x

SuperMegaGreat
1,965 Views

Hey there all.

i see clearly how to go about renaming a volume using the CLI (vol rename etc...), but can't seem to find that in the powershell toolkit.  Anyone know how to accomplish this?

Thanks!

1 REPLY 1

Girton
1,943 Views

I think what you're looking for is the 'Rename-NcVol' cmdlet.  This example below shows how to rename a volume once Powershell is connected to the cluster:

    Rename-NcVol -VserverContext Dan Demo1 -NewName DemoA

Public