February 2019
Intermediate to advanced
626 pages
15h 51m
English
Variables in PowerShell are preceded by the dollar symbol ($), for example:
$MyVariable
The name of a variable may contain numbers, letters, and underscores. For example, each of the following is a valid name:
$123 $x $my_variable $variable $varIABle $Path_To_File
Variables are frequently written in either camel case or upper-camel case (also known as Pascal case). PowerShell doesn't enforce any naming convention, nor does it exhibit a convention in any of the automatic variables. For example:
One of the most commonly accepted practices is that variables used as parameters must use Pascal case. Variables used only within a script or ...
Read now
Unlock full access