I do apologies if this has been asked before. At the time I wrote this I was unable to find this behavior addressed on this site.
When using Invoke-SQLcmd in powershe