Well, I can understand your first and last part. Not sure of the 2nd part, and I am not so familiar with PwerShell.
There are about 25 vservers, about 700 policies, and thoughts and thoughts of rules across the cluster here. To pull and save them on a Linux server in daily basis, it should be easier, and in ASUP already. However, based on these saved files to "restore" or rebuild the Export, that seems not straightforward to do, and not sure of it is right thing to do.
If anything goes wrong, it could screw up the whole cluster, because it is NFS based environment here.
As Storage admin, we can write our own script, but may not be that good.
Is anybody there doing the similar thing? Or does this make sense at all?
>> you should be able to pipe yesterday's variable into the new-* or set-* commands.
As I said, I am not good at PowerShell. But, is it really possible just to capture the entire Export including every single policy/rule to a variable, and compare today's with yesterday's, and if there is difference, pipe yesterday's variable which contains entire Export information into new-* or set-* commands, and these commands are going to rebuild the entire Export for me back to yesterday's status? Am I understanding you correct?
I am not asking about just taking NAS reports.