Close Menu
Altcoinvest
    What's Hot

    Bitcoin Analysts See ‘Further Upside,’ and Identify Next Price Levels to Watch

    April 19, 2026

    Payward to acquire Bitnomial, creating a fully CFTC-licensed derivatives platform

    April 19, 2026

    Iran accepts Bitcoin for oil tolls in Strait of Hormuz, stablecoins dominate

    April 19, 2026
    Facebook X (Twitter) Instagram
    Altcoinvest
    • Bitcoin
    • Altcoins
    • Exchanges
    • Youtube
    • Crypto Wallets
    • Learn Crypto
    • bitcoinBitcoin(BTC)$75,479.00-2.24%
    • ethereumEthereum(ETH)$2,331.69-3.27%
    • tetherTether(USDT)$1.000.01%
    • rippleXRP(XRP)$1.43-2.70%
    • binancecoinBNB(BNB)$622.33-3.63%
    • usd-coinUSDC(USDC)$1.000.01%
    • solanaSolana(SOL)$85.45-3.42%
    • tronTRON(TRX)$0.3289310.53%
    • Figure HelocFigure Heloc(FIGR_HELOC)$1.041.31%
    • dogecoinDogecoin(DOGE)$0.094750-4.02%
    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

    How to Block Soft and Hard Match in Microsoft Entra ID

    April 7, 2026

    How to connect to Microsoft 365 with Microsoft Graph PowerShell

    March 27, 2026

    February 2026 Exchange Server Security Updates

    March 5, 2026

    How to Fix 550 5.1.10 RESOLVER.ADR.RecipientNotFound in Exchange Server

    March 5, 2026
    Add A Comment

    Comments are closed.

    Tweets by InfoAltcoinvest

    Top Posts

    How to Block Soft and Hard Match in Microsoft Entra ID

    April 7, 2026

    How to connect to Microsoft 365 with Microsoft Graph PowerShell

    March 27, 2026

    February 2026 Exchange Server Security Updates

    March 5, 2026

    Bitcoin Price Hovers Around $70K As Volatility Goes Quiet

    February 10, 2026

    Stablecoin Crypto Supply Hits $315B in Q1 as USDC Gains, USDT Slips

    April 4, 2026

    Bitcoin, politics, and silver shocks fuel crypto’s latest narrative storm

    December 30, 2025

    Tesla, Bitcoin bet is a bust—but the EV giant isn’t selling

    January 29, 2026

    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

    Bitcoin Analysts See ‘Further Upside,’ and Identify Next Price Levels to Watch

    April 19, 2026

    Payward to acquire Bitnomial, creating a fully CFTC-licensed derivatives platform

    April 19, 2026

    Iran accepts Bitcoin for oil tolls in Strait of Hormuz, stablecoins dominate

    April 19, 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.