Simple PowerShell function that exports Modern Dashboard definitions to the file system.

See Practical Examples: Export Modern Dashboard [Better] for an easier to use option.
Relies on $SwisConnection
variable as defined in Practical Examples: Authenticate.
Watch Practical Examples Using the Orion API to see the step-by-step process of this and other scripts for the SolarWinds Platform API.