VMware Cloud Community
Hiront
Enthusiast
Enthusiast

Change View Administrator session timeout using View API

Hi expert

Its strange.

View API can't get View Administrator Session timeout using GlobalSettings_Get method.

This method only get ViewAPISessionTimeoutMinutes property.

C:\> $HVService.GlobalSettings.GlobalSettings_get().generalData

ClientMaxSessionTimePolicy       : TIMEOUT_AFTER

ClientMaxSessionTimeMinutes      : 600

ClientIdleSessionTimeoutPolicy   : NEVER

ClientIdleSessionTimeoutMinutes  :

ClientSessionTimeoutMinutes      : 1200

DesktopSSOTimeoutPolicy          : DISABLE_AFTER

DesktopSSOTimeoutMinutes         : 15

ApplicationSSOTimeoutPolicy      : ALWAYS_ENABLED

ApplicationSSOTimeoutMinutes     :

ViewAPISessionTimeoutMinutes     : 10                                       <----------- here

PreLoginMessage                  :

DisplayWarningBeforeForcedLogoff : True

ForcedLogoffTimeoutMinutes       : 5

ForcedLogoffMessage              : Your desktop is scheduled for an import

EnableServerInSingleUserMode     : False

StoreCALOnBroker                 : False

StoreCALOnClient                 : False

Does anyone know how to get View Administrator session timeout value using View API?

0 Kudos
1 Reply
LucD
Leadership
Leadership

Afaik the GlobalSettings_Update method should allow you to do that.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos