Try
Get
-VMHost
esxi01.definit.local | Get
-AdvancedSetting
-Name
'UserVars.ESXiShellTimeOut'
|
Set
-AdvancedSetting
-Value
"300"
-Confirm
:
$false
I think you need to connect to the vcenter first. Sorry i'm not that good with powercli.
Try
Get
-VMHost
esxi01.definit.local | Get
-AdvancedSetting
-Name
'UserVars.ESXiShellTimeOut'
|
Set
-AdvancedSetting
-Value
"300"
-Confirm
:
$false
I think you need to connect to the vcenter first. Sorry i'm not that good with powercli.