Active IQ Unified Manager Discussions

PS command reference & Export policy backup

Thomas_

Hi guys,

 

where can I find the current PowerShell Toolkit command line reference?

 

Also I'm looking for a script which can export qtrees including export-policy settings and import it on another svm.

I found this for cifs shares + export polices https://github.com/DatacenterDudes/cDOT-CIFS-share-backup-restore  which works very well.

 

Thanks,

Thomas

2 REPLIES 2

donny_lang

Once you have the PSTK module loaded, the "Show-NcHelp" cmdlet will launch the documentation in your web browser, which will include all of the information about various cmdlets. Off the top of my head, I would think you'd want to look at the "Get-NcQtree", "Get-NcExportPolicy" and "Get-NcExportRule" cmdlets to pull in data from your "source" cluster and then duplicate on your "destination" cluster. 

 

Unfortunately, I don't have any code handy to help out with your specific use case, but if you start writing a script/function and run into issues, post your code and I'll be happy to help work the kinks out! 

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.

NetApp Insights to Action
I2A Banner
Public