Yvez
  • Azure
  • Office 365
  • Powershell
  • Windows
  • About

modulo

boolean switch powershell
Powershell

Toggle boolean in PowerShell without using $true and $false

Switch on, switch off. Enabled, disabled. Up, Down. All possible wordings for $true and $false in PowerShell. Unfortunately, there is no simple way to toggle between 2 variables when not using these boolean values.

By yvez, 5 years04/03/2018 ago
  • About
Hestia | Developed by ThemeIsle