Complete the code to assign the Boolean value True to the variable.
$isActive = [1]In PowerShell, the Boolean value True is represented as $true (all lowercase with $).
Complete the code to check if the variable $flag is False.
if ($flag -eq [1]) { Write-Output 'Flag is false' }
PowerShell uses $false to represent the Boolean False value.
Fix the error in the code to correctly assign a Boolean False value.
$isComplete = [1]The correct Boolean False value in PowerShell is $false (all lowercase with $).
Fill both blanks to create a Boolean expression that checks if $value is True and $status is False.
if ($value -eq [1] -and $status -eq [2]) { Write-Output 'Condition met' }
Use $true and $false for Boolean values in PowerShell.
Fill all three blanks to create a Boolean expression that checks if $a is True, $b is False, and $c is True.
if ($a -eq [1] -and $b -eq [2] -and $c -eq [3]) { Write-Output 'Check passed' }
Use $true and $false for Boolean values in PowerShell. The logical operators -or and -and combine conditions.