Category: Powershell

PowerShell Basics: If Statement

Introduction to The Windows PowerShell If Statement PowerShell’s ‘If’ statement comes under the umbrella of flow control.  Once you master the basic construction then you can increase its usefulness by appending, ‘Else’ and ‘ElseIf’ statements.  One of my favourite alternative strategies is to use ‘Switch‘. Topics for PowerShell’s If Statement …