> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/packet-squirrel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/packet-squirrel/payload-development/the-switch-command.md).

# The SWITCH Command

`SWITCH` is a Ducky Script command for the Packet Squirrel which will report back the current position of the hardware payload selection switch. It may be used by advanced payloads as a toggle where user input is required.

The command will output either “`switch1`”, “`switch2`”, “`switch3`” or “`switch4`”
