Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 176561

display host name when using Get-VMHostAdvancedConfiguration

$
0
0

I want to query for several config settings in advanced configuration on all ESXi hosts in my vcenter, for example I ran the following:

 

Get-VMHost|Sort-Object Name|Get-VMHostAdvancedConfiguration -Name UserVars.ESXiShellInteractiveTimeOut

 

which gave me the following output

 

Name                      Value
----                      -----

UserVars.ESXiShellInteracti... 300

UserVars.ESXiShellInteracti... 300

UserVars.ESXiShellInteracti... 300

UserVars.ESXiShellInteracti... 300

UserVars.ESXiShellInteracti... 300

UserVars.ESXiShellInteracti... 300

UserVars.ESXiShellInteracti... 300

 

 

the problem is it's missing the host name, anyway I can modify the cmdlets to see the host name an additional column?

 

thank you


Viewing all articles
Browse latest Browse all 176561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>