Hi Pragya!
Thanks for reading my article!
If you want to explicitly exclude triggers from the restart, you'd have to enhance the "SetADFTriggerStart.ps1" script with this functionality.
One way to achieve this, is to add a new optional parameter to supply the names of the excluded triggers, then in the step where the triggers are re-started check if the Trigger's name that's about to be restarted is one of the excluded triggers. If it is, don't restart it, if it isn't, restart the trigger as normal.
Something like this:
https://gist.github.com/vekontib/24aa602a172b74367da46017125bcce0
Unfortunately, at the moment I don't have the setup to test this enhanced version of the script, but the changes are fairly minor - as you will see if you compare it to the original script. I've added a comment to the Change History on top of the script on how to pass the names of the triggers as the new parameter.
Let me know, if it helps!
Best Regards,
Tibor Vekony