Sample PowerShell scripts

This section contains a few sample PowerShell scripts that will guide you in creating your own scripts. See your PowerShell documentation for details and instructions on scripting.

These examples can only be used on Windows machines, and they require PowerShell version 5.1, even if you have version 6 or 7 also installed. (Version 5.1 is based off of .NET Framework, and versions 6 and 7 are based off of Core. They can be installed together.)

You may need to modify the samples to fit your needs, environment, and PowerShell version.

The section How to use the API contains a PowerShell sample for SuspendDashboardDevice.