Monday, September 17, 2012

How to disable shell warnings in vSphere 5

This is a quick how-to that I regularly use (that's why I post it here) explaining how to disable the two warnings which appear on top of your ESXi Summary Page after you have enabled the ESXi shell and SSH connections.

Enabling SSH and the ESXi shell
vSphere alerts
Select the ESXi and go to the 'Configuration' tab. Once there, scroll down the page and select 'Advanced Settings' in the 'Software' menu. A pop-up windows will appear, where you have to select 'Uservars' then scroll down the list of setting to the very bottom and set 'UserVars.SuppressShellWarning' to 1.

How to set UserVars.SuppressShellWarning

That's all. I hope this helps.


  1. PowerCLI one-liner:

    Get-VMHost host01 | Set-VMHostAdvancedConfiguration -Name UserVars.SuppressShellWarning -Value 1

    1. Cool, thanks for this one-liner!


Related Posts Plugin for WordPress, Blogger...