VMware Cloud Community
Ram67
Contributor
Contributor
Jump to solution

How logout in vCenter server without prompting the user to confirm ?

Hi All,

I'm new to VMware product/tools.

I'm using the following command to logout from vcenter server,

Disconnect-VIServer -Server * -Force

the above command prompting me to confirm the logout. but i dont want to confirm/prompt.

Is that possible to logout without any confirmation?

1 Solution

Accepted Solutions
Rubeck
Virtuoso
Virtuoso
Jump to solution

Try Disconnect-VIServer -confirm:$false ....

/Rubeck

View solution in original post

2 Replies
Rubeck
Virtuoso
Virtuoso
Jump to solution

Try Disconnect-VIServer -confirm:$false ....

/Rubeck

Ram67
Contributor
Contributor
Jump to solution

Thanks, its working Smiley Happy

0 Kudos