How to create a variable in PowerShell?
If you are just starting out in powershell then you are going to need to know how to do some basics right.
Firstly launch an Integrated Development Environment. Built into Windows is Powershell ISE (integrated script environment) but you can also use Visual Studio of Visual Studio code (or go crazy and write it in Notepad or Notepad++/Sublime/Your editor of choice).
So once we have our editor open we need to create a variable:
Variables in PowerShell use the dollar symbol: “$” e.g.Read more “How to create a variable in PowerShell?”