Vmware related powercli scripts
Overview of different scripts
backup_dswitch.ps1 : this will let you backup your distributed switches and will keep a history of 2 months. You can enter different vcenters and if you want you change the output directory.