Added a function to call SQL to enable better Pester testing
Added a function to call SQL to enable better Pester testing

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