During this session attendees will learn the basics of different types of loops they can use when writing PowerCLI scripts. Important topics such as when to use specific loops, how to break out of loops and how to avoid a never ending loop. Determining the most efficient loop type can be difficult, either from a performance or code readability perspective. I will cover a few scenarios that should help the attendees understand when and where to choose the specific types of PowerShell loops. This presentation will have plenty of live code examples interacting with APIs and custom functions to ensure the attendees can see the real-world application of these PowerShell tools. Attendees can expect to leave the session with PowerShell knowledge they can apply immediately to their existing scripts.