The NetApp Community is moving to a new platform and is in Read-Only mode. Click to learn more.
Stay connected during the transition - Join our Discord community today.

Software Development Kit (SDK) and API Discussions

Powershell Toolkit - rename a volume OnTap 9.x

SuperMegaGreat
2,680 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
2,658 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