Simple PowerShell function to import Modern Dashboard definitions from the file system.

See Practical Examples: Import Modern Dashboard [Better] for an easier way.
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.