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 ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results