I recently had the daunting task of adding several hosts that had lots of NFS volumes attached, and adding them manually in the GUI would have taken ages.
To expedite this I wrote a little Powershell foreach statement that copied the volumes from one host to another. Granted I could have made this much smarter but it is one of those “quick and dirty” bits of script that got the job done. So how was it done? [Read more…]