Video: FAQ PowerShell - Can You Have Too Many If Statements?

4/26/2018 2104 Contributors

Have you ever wondered how many If Statements you can have within the same script?

...Neither have I. But, to satisfy our curiosity, we show 9000 fancy nested If Statements in our demonstration.

In all seriousness, though, you will not likely run into any problems with having a lot of If Statements within your scripts.