Add "Deactivate Host(s)" as an option when running Scripted Actions

We were recently running some scripted actions (SAs) (outside of a normal maintenance window) and noticed that when a SA is run on a powered-off host, the host comes online and is available while the SA is running. In theory, someone could be assigned to that host while the SA is being run and then immediately be prompted to log off after the SA is finished.

It would be nice to have a checkbox for "Deactivate Offline Hosts" or "Deactivate Hosts while SAs are running" so people can't log in while the maintenance is going on.

3

Comments (2 comments)

0
Avatar
Tony Cai

We have that as an adjustable run book. That prevents a host from being usable till x amount of time passes.

0
Avatar
DStephenson

Thanks, Tony!
The "Delay host availability in AVD for 10 minutes" runbook is a good band aid for now, but it would be nice if it was more dynamic.
For example, if we're running the "Install Teams" scripted action, and it takes 15 minutes for one host, and 5 minutes for another host, the host that is taking 15 minutes will be "ready", but not actually be "ready" and the host that only took 5 minutes is "not ready" .

Please sign in to leave a comment.