I have a form created in Powershell 5 and when I click it it calls a function called getupdates. I have several other functions on the form that I would like to run once the getupdates function has completed i.e. when I click Start it runs getupdates then another function and when that has finished it runs another function etc. Any ideas how I can run multiple functions from one onclick event ? Do I need to put them in a scriptbocl and call that in the onclick event ? If so how do I do this?