7MODE: Need workflow to un-export IP from the export list
2018-05-04 03:12 AM
I would need a workflow to un-export IP (Single IP) from the NFS share export list.
WFA => Designer => Command Tab (Unexport IP command is not available)
Could you please provide the PowerShell script for IP un-export. So that I can add it to the command and create the workflow.
1 REPLY 1
Re: 7MODE: Need workflow to un-export IP from the export list
2018-05-04 07:07 AM
I do not have a script for this, However, I think you should look at the following commandlets to do this.
I think you will ned to get the rule for that path and then parse the IP's and creatre a new set of IPs. You can then set the rule with the new IP's. Pay attention to the -persistant flag if you want to update the /etc/exports file/