how do I use the -credential parameter to connect to vcenter?
any examples?
Here are the docs with examples at the bottom.
vSphere 6.0 Documentation Center
let me know if that link goes direct to connect-viserver cmdlet.