HI
i am changing the esx ip vlan and default Gate way
the script run fine - and i expect that there will be timeout when i run the script loss of connection
command
$netMgr.UpdateNetworkConfig($config,[VMware.Vim.HostConfigChangeMode]::modify)
is there a way to make the time out shorter ?
Roni
Did you do a restart of your PS session?
The option contains the remark "Changing this setting requires a restart of PowerCLI before it takes effect"
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
If you mean the timeout from your PS session to the ESXi node, you might want to look at the WebOperationsTimeoutSeconds parameter of the Set-PowerCLIConfiguration cmdlet.
The default value is 300 seconds.
Note that changing the value requires a stop/start of your PS session.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
HI lucd
i will give it a try
roni
Hi Lucd
i try Set-PowerCLIConfiguration-WebOperationsTimeoutSeconds 5
i change it to 5 sec
but the i am still wait 300 sec to respond - it in not going to the next step
roni
Did you do a restart of your PS session?
The option contains the remark "Changing this setting requires a restart of PowerCLI before it takes effect"
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
work like a charm !!!!
Tank you Lucd
as usual your help was great
Roni