A new user asked for help on running a PowerShell script on multiple Citrix VDAs to gather information about Windows updates and VDA versions. They currently receive two emails per triggered event and would like to condense the output into one file and only receive one email at the end of the month. Other users suggested using the tag system or ControlUp modules to achieve this.
Read the entire ‘How to Run PowerShell Scripts on Multiple Citrix VDAs with ControlUp.’ thread below:
Hey guys! Hope you are having a wonderful friday. Very new here and excited to learn Control Up. I have a situation where I’m running a powershell script on 20 + different Citrix VDAs to gather information about the latest windows updates and VDA version that has been installed on the machines at the end of the month. I have created a script in control up console and a trigger but what happens is that I get 2 emails when this is running, First email is just a automated alert and the second one contains the output from the script in a text file. This means that if I activate this for the 20 VDAs, I will get 40 emails!. Is there a way to run the script on all servers, summarize the output into one csv file or text file and make sure that this email is at the end of the month? instead of 200 emails 😄






Hi, since trigger happen per triggered event you get an email per event. You get two per trigger which currently is also as intended. What I would suggest is to instead of using email use the tag system for at least the vda version
If you have CU4D as well, you can write the script output to a custom index, and then create an email report based on the index with data from all VDA’s
Controlup Workflow may also provide an elegant solution here…
Hopefully you have one of these modules included
with cu4d the installed vda info would have been in there and with cu4c the last windows updates thing becomes less relevant as well
Continue reading and comment on the thread ‘How to Run PowerShell Scripts on Multiple Citrix VDAs with ControlUp.’. Not a member? Join Here!
Categories: All Archives, ControlUp Scripts & Triggers
