Fixed arrays of paths and XPdir issue
Fixed arrays of paths and XPdir issue

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