Variables in PowerShell
Variables are used to store and manipulate data in PowerShell. They are declared using the $ symbol followed by the variable name. Here's an example:
$name = "John"
$age = 30
In this example, $name and $age are variables that store the name and age of a person.
No comments:
Post a Comment