Microsoft Virtualization Discussions

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

koushi
2,882 Views

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
2,865 Views

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
2,866 Views

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.
Public