Let’s start with basic elements and quickly review variables, loops, if/else statements, switches, and functions. These are the heart of any scripting language, and will assist you in creating simple to complex scripts.
I will not delve into PowerShell versions or what PowerShell is. (But here is an easy-to-understand definition without going into depth: PowerShell is a task automation solution made up of a command-line shell and a scripting language.) I also won’t talk about what platforms it can be used on or get and set ...