What is the variable in PowerShell?
A PowerShell variable is a unit of memory which is used to store the data. You can easily store all the types of values in the variable of PowerShell. In the variables, PowerShell contains integers
, strings
, and objects
.