VMware Communities > Blogs > John Tuffin's Blog > 2008 > April > 21

Blog Posts

John Tuffin's Blog

Previous Next
0

Thanks to LucD on the forum for showing me this little trick today. To prompt for a username and password in get-viserver pass a -credentials argument to the command. For example

get-viserver <Virtual Center Server Name> -Credentials (get-credential)

that will prompt for a username and password rather than having to put it into the script.



There are no comments on this post