PowerShell for IT Professionals [#11] – Variables

In this lesson we’re going to learn how what Variables are, why it’s good to use them and how to actually create them. We will then assign various values to variables to and use them solely, and in parameters. We will also have a look at foreach loop so that we can e.g. ping multiple computers using single variable with multiple objects in it. Exercises Use Get-Command to find all commands that allow you to manage variables....

29 August 2020 · 2 min · 371 words · Kamil