Updating the Horizon View global settings
The
Update-GlobalSetting
command can be used to update a number of different Horizon View global settings.
How to do it…
The following example command enables and configures the Force Logoff
and Pre Login
messages:
Update-GlobalSetting -DisplayPreLogin $true -PreLoginMessage "Unauthorized users prohibited" -DisplayLogoffWarning $true -ForcedLogoffMessage "You will be logged off"
How it works…
The following settings can be set using the Update-GlobalSetting
command:
The
DisplayLogoffWarning
setting: This displays a warning to the Horizon View Client prior to a forced logoff; this value should be contained within quotes.The
DisplayPreLogin
setting: This displays a login message prior to the Horizon View Client logging into the Connection Server; this value should be contained within quotes.The
ForceLogoffAfter
setting: This sets how long you need to wait in minutes after the warning message appears to force logoff of the Horizon View Client.The
ForceLogoffMessage...