if else loop powershell code example Example: powershell else if if (condition) { # Whatever } elseif (condition) { # Whatever }