Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251495

Re: UserVars.ESXiShellTimeOut

$
0
0

Try this updated version of the script

 

$HostData=@()$vmhs=Get-VMHost
foreach
($vmhin$vmhs){  $myItem=""|SelectVC,Host,Version,Shelltimeout
  $myItem.Host=$vmh.Name
  $myItem.VC=$defaultviserver.Name
 
$myItem.Version=$vmh.Version
  $myItem.Shelltimeout=Get-VMHostAdvancedConfiguration-vmhost$vmh-nameUserVars.ESXiShellTimeOut| Select-ExpandPropertyValues
  $HostData+=$myItem
}$HostData

 

That should give you the values you are after


Viewing all articles
Browse latest Browse all 251495

Trending Articles



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