In this chapter, we are going to learn one of the most important parts of any script or program, variables! We are going to learn how they are used to store information and how they can be accessed and manipulated from different sections of your code. Variables come in many different types, and each type has specific ways to store and access the data.
3. Variables
Get PowerShell for Beginners: Learn PowerShell 7 Through Hands-On Mini Games now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.