Lot of changes
Lot of changes

Layout of code
Redundant checks
Improved checks
Added examples

wsmelton/dbatools,dsolodow/dbatools,alevyinroc/dbatools,SirCaptainMitch/dbatools,sqlpadawan/dbatools,Splaxi/dbatools,kozloski/dbatools