Get-DbaDatabaseState, revamp
Get-DbaDatabaseState, revamp

- compliance with flowcontrol, messaging and codestyle

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