Hi Raju,
Please find below script which fulfills 2nd & 3rd data requirement.
$vcenter=@()
$vmhosts = get-vmhost
foreach($vmhost in $vmhosts){
$sto = $vmhost | Get-AdvancedSetting | where{$_.Name -eq "UserVars.ESXiShellTimeOut"}
$Isto = $vmhost | Get-AdvancedSetting | where{$_.Name -eq "UserVars.ESXiShellInteractiveTimeout"}
$vcd = "" | select ESXi,Shellto,IShellto
$vcd.Shellto = $sto.value
$vcd.IShellto = $Isto.value
$vcd.ESXi = $vmhost.name
$vcenter += $vcd
}
$vcenter | Export-Csv .\value.csv -NoTypeInformation