This message was deleted.
# _general
s
This message was deleted.
r
c
Yes I found this but it’s still AD driven. I have limited access to ad
r
Ahhh. I see.
s
Interesting constraint. AD is the only way I know. Maybe a UEM solution can do this? Might let them into the ADC and launch a session but then log them out if the hours are between x and Y
r
AD is the only way I know of based on how Citrix is so tight with AD
I am sure their is a way. But something to really think on.
Other than putting the vdas in maintenance mode. Idk
I know u can deny logins through NSG. Not sure about internal VIPs to storefront.
v
may be this: 1- publish apps for 2 groups - admins, users 2- run 2 scheduled tasks with XA powershell - one to remove “users” group from the apps and another one to add “users” group back. using set-brokerapplication userfilterenabled
they would be able to log on though. But would be unable to run apps
c
I did think of the PowerShell task and just disable the app for times. I will try both methods along with the gateway.
v
shutting down Storefront VIP on Netscaler on schedule ? https://www.carlstalhood.com/netscaler-scripting/ as per Carl Stalhood:Or you can use a scheduler on any remote machine and have it run scripts that do Nitro API to the NetScaler.
c
Yes but i only need to affect certain users. I like the scheduled task idea. Probably better just to punt to the AD guys.
l
Add a group to your netscaler ldap action if not already done so, the user has to be a member of this group to login. Use the scheduled task idea to add remove users to and from this group based on timings. This will stop external users, you can then do the same for delivery groups. I'd probably use nested groups for this so you have a specific timings group with users and that placed inside the access groups. Will be nice and quick. Happy to knock up a quick script example.
👍 1
Could even have the time extracted from the group name and just have the script run every 15 minutes.
a
Script to put VDAs into maintenance mode between particular hours?
j
Only think I can think of is scripting ways mentioned above or using AD. Nothing builtin.
Stumbled across this today looking for something completely unrelated.
👏 3
c
Thanks will see if we can tie that to a group.