Hi Master of Powershell
Just a question (and maybe a script)?
Is it possible to monitor RDS session host server for CPU load (in Azure) and do a special action when the CPU load is too high (disable RDS login)?
In Azure I can monitor these RDS session host server and as an action I execute a Azure Runbook
https://docs.microsoft.com/en-us/azure/automation/automation-create-alert-triggered-runbook
But what I need....or next step is:
This runbook should disable the RDS login feature of this special session host server.
Reason: in MS RDS I can load balance User load, but not CPU. And I need a solution to do also CPU load balancing. I want to prevent that new user will be directed to RDS server with a high CPU load also when they have the least user load.
How could I do this?
Without additional hardware or software (no Citirx)
Any idea
Best,
Lutz