You could add this as a parameter to your script if desired (i.e. prompt before you build up the GUI). On a side note: Execute PowerShell Script using alternate credential with no prompts (High risk ...