Script

The output of this script will be put onto the clipboard and pasted.


Header

Content that should preceed the Script's output.


Footer

Content that should follow the Script's output.


When Loaded

Runs whenever the button is loaded.

This is where any PowerShell modules should be imported, and any state should be set up (for instance, discovering devices)


When Unloaded

Runs whenever the button is loaded.

This is where any state should be cleaned up. Unloading modules is not recommended due to the potential of another button using the same module.