Code cleanup
Code cleanup

- Updated examples
- Remove redundant/dublicate object reference

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