Added correct type conversion and additional example
Added correct type conversion and additional example

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