Changed the method of getting the Name
Changed the method of getting the Name

As in another function, changed the -ExpandProperty to .Name to be more efficient.

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