Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

If / Else Blocks

Modified on July 26, 2024view on GitHub

If / Else blocks allow for greater flexibility when creating plans, and reusing plan blocks in multiple situations.

For example, maybe a security certificate is only needed on production servers, so an If / Else block can be inserted so that if the server is in the Production environment, the security certificate will be installed via PowerShell.

Visual Mode

if-else-block.png

Text Mode (OtterScript)

if-else-text.png

If this is run on any non-production server, it will simply log that a certificate isn't needed.