Small fixes
Small fixes

Added delay parameter
Fixed some small errors

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