Microsoft Virtualization Discussions

How to add multiple server entries to an already existing NFS share using Powershell in Cdot

koushi

Hi All,

 

Can anyone Please let me know is there anyway to add multiple server entries to an already existing export policy in Cdot  using Powershell.

For Ex :- We've got 20+ servers(Different IPs) to add in export-policy of an existing share.

 

IS there any cmdlet to get it done using powershell.

 

Thanks

Koushik

1 ACCEPTED SOLUTION

asulliva

You'll want to use the "New-NcExportRule" cmdlet to add them using PowerShell.  I documented how to add rules here, please let me know if there's other examples you'd like to see.

 

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

View solution in original post

1 REPLY 1

asulliva

You'll want to use the "New-NcExportRule" cmdlet to add them using PowerShell.  I documented how to add rules here, please let me know if there's other examples you'd like to see.

 

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

View solution in original post

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