If you missed the pre-registration for NetApp MS Azure AD B2C, the new login prompt will offer the option to register. Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

how to get volume language

stephen2

All, I'm trying to develop a workflow that will create a DP volume with the same language as the source volume. get-ncvol does not return a language attribute. See below:

C:\Users\stephen2> $v = Get-NcVol -Template
C:\Users\stephen2> Initialize-NcObjectProperty $v VolumeStateAttributes    $v.VolumeStateAttributes.IsVserverRoot
C:\Users\stephen2> Get-NcVol -Query $v | select Name, Vserver, language

name                                                       Vserver                                                    language

--------                                                      -------                                                    ------
                                                         cdot1-01
t1a_root                                                cdot1a
t1b_root                                                cdot1b
vol                                                     cdot1b
rdata                                                   cdot1b
t1c_root                                                cdot1c

Anyone know how to get the language attribute so I can pass it as a parameter to the nc_createvol ?

2 REPLIES 2

stephen2

got it:

$cmd = 'volume show srcvol -fields language'

$a = invoke-ncssh $cmd

$a

JGPSHNTAP

Use this

-


Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

Public