Thanks for the reply, Jeff. This is just a simulation where I'm using a dummy account on a test server and was tired of typing the pwd. I can't imagine anyone actually thinking that this would be the right thing to do.
Having said that, do you have any suggestions or help on the actual topic?
Thanks,
Mark
I haven't had time to test this yet but I think you need to do this a little differently that using start process. Gather the credentials etc and then do New-PSSession and then invoke-sqlcmd.
Sue