PSPowerShell · Lesson 2 of 8
Variables & Types
PowerShell variables can hold any .NET type. Numbers, strings, arrays, hashtables, or entire objects returned by cmdlets.
◆ Note
In PowerShell, $true and $false (not true and false) are the boolean literals. $null (not null or None) is the null value. These are case-insensitive in practice, but lowercase is conventional.
In PowerShell, $true and $false (not true and false) are the boolean literals. $null (not null or None) is the null value. These are case-insensitive in practice, but lowercase is conventional.