added logic to add cert, test then remove it
added logic to add cert, test then remove it

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