Close Menu
Altcoinvest
    What's Hot

    Is BTC Bracing for Another ‘Black Swan’ Event?

    May 9, 2026

    What Does ETH Need to Surge Past $3,000 Again as Whales Are Abandoning Ship?

    May 9, 2026

    Spot Bitcoin ETFs Log 6th Straight Week of Net Inflows for First Time Since August

    May 9, 2026
    Facebook X (Twitter) Instagram
    Altcoinvest
    • Bitcoin
    • Altcoins
    • Exchanges
    • Youtube
    • Crypto Wallets
    • Learn Crypto
    • bitcoinBitcoin(BTC)$80,330.000.22%
    • ethereumEthereum(ETH)$2,313.871.03%
    • tetherTether(USDT)$1.000.00%
    • rippleXRP(XRP)$1.422.28%
    • binancecoinBNB(BNB)$650.211.60%
    • usd-coinUSDC(USDC)$1.000.00%
    • solanaSolana(SOL)$93.585.58%
    • tronTRON(TRX)$0.3523551.21%
    • Figure HelocFigure Heloc(FIGR_HELOC)$1.032.53%
    • dogecoinDogecoin(DOGE)$0.1097102.20%
    Altcoinvest
    Home»Exchange»Practical PowerShell Series: Part 3 | EighTwOne (821)
    Practical PowerShell Series: Part 3 | EighTwOne (821)
    Exchange

    Practical PowerShell Series: Part 3 | EighTwOne (821)

    April 19, 2025
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Practical PowerShell Series: Part 3 | EighTwOne (821)

    When working with PowerShell and objects such as User in Entra ID or mailboxes in Exchange Online, you might quickly run into scenarios where you might want to repeat a set of instructions for multiple objects. This can happen for example, when configuring mailbox properties for multiple mailboxes. This construct of flow control is called looping.

    In the third installment of the Practical PowerShell series, I discuss which types of looping are available in PowerShell and what their typical application is. Topics discussed are For loops, ForEach-Object vs ForEach, and While/Do-While and Do-Until. On the side, I will also touch briefly on casting, the format operator, and running code in parallel using ForEach-Object.

    Click here to read the full article on Practical 365.

    This entry was posted in PowerShell and tagged Office 365, PowerShell, Scripting by Michel de Rooij. Bookmark the permalink.

    About Michel de Rooij

    Michel de Rooij, with over 25 years of mixed consulting and automation experience with Exchange and related technologies, is a consultant for Rapid Circle. He assists organizations in their journey to and using Microsoft 365, primarily focusing on Exchange and associated technologies and automating processes using PowerShell or Graph. Michel’s authorship of several Exchange books and role in the Office 365 for IT Pros author team are a testament to his knowledge. Besides writing for Practical365.com, he maintains a blog on eightwone.com with supporting scripts on GitHub. Michel has been a Microsoft MVP since 2013.


    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    Exchange Unattended Install Script [Update]

    May 7, 2026

    Conditional Access Policy Maximum Limit Explained

    May 7, 2026

    Deploy dummy OU structure and Exchange mailboxes in Active Directory

    May 1, 2026

    Exchange Deployment & Compliance Assessment

    April 23, 2026
    Add A Comment

    Comments are closed.

    Tweets by InfoAltcoinvest

    Top Posts

    Exchange Unattended Install Script [Update]

    May 7, 2026

    Conditional Access Policy Maximum Limit Explained

    May 7, 2026

    Deploy dummy OU structure and Exchange mailboxes in Active Directory

    May 1, 2026

    Bitcoin Policy Institute Warns Quantum Advances Are Compressing Timeline For Network Upgrades

    April 12, 2026

    BNY rolls out tokenized deposits to enhance real-time payments and settlement

    January 9, 2026

    Lending Pool Heist: Are Trump Crypto Insiders Setting Up To Crash DOLO Crypto?

    April 10, 2026

    Bitcoin 401ks LEGAL 🏆 Trillions to Flow into Crypto 🚀 Altcoin Season About to Explode 💥 (BTC to $1M)

    December 22, 2025

    Altcoinvest is a leading platform dedicated to providing the latest news and insights on the dynamic world of cryptocurrencies.

    We're social. Connect with us:

    Facebook X (Twitter)
    Top Insights

    Is BTC Bracing for Another ‘Black Swan’ Event?

    May 9, 2026

    What Does ETH Need to Surge Past $3,000 Again as Whales Are Abandoning Ship?

    May 9, 2026

    Spot Bitcoin ETFs Log 6th Straight Week of Net Inflows for First Time Since August

    May 9, 2026
    Get Informed

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.


    Facebook X (Twitter)
    • Home
    • About us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions
    © 2026 altcoinvest.com

    Type above and press Enter to search. Press Esc to cancel.