Close Menu
Altcoinvest
    What's Hot

    Diablo IV: Lord of Hatred | Opening Cinematic

    December 5, 2026

    Zcash (ZEC), Monero (XMR) and Stellar (XLM) Price Analysis for December 4: December Starts Off on the Wrong Foot

    December 4, 2026

    NSA Asked OpenAI, Anthropic To Pause Crypto Research

    December 4, 2026
    Facebook X (Twitter) Instagram
    Altcoinvest
    • Bitcoin
    • Altcoins
    • Exchanges
    • Youtube
    • Crypto Wallets
    • Learn Crypto
    • bitcoinBitcoin(BTC)$42,404.00-16.83%
    • tetherTether(USDT)$1.000.02%
    • ethereumEthereum(ETH)$1,299.02-16.50%
    • usd-coinUSDC(USDC)$1.000.02%
    • binancecoinBNB(BNB)$415.52-16.61%
    • rippleXRP(XRP)$0.71-11.03%
    • solanaSolana(SOL)$54.77-14.76%
    • Figure HelocFigure Heloc(FIGR_HELOC)$1.040.30%
    • tronTRON(TRX)$0.255245-9.11%
    • HyperliquidHyperliquid(HYPE)$56.74-8.41%
    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

    Ignite 2026 Digest | EighTwOne (821)

    November 25, 2026

    Exchange Named Property Exhaustion | EighTwOne (821)

    November 19, 2026

    Security Updates Exchange SE (Nov2026)

    November 10, 2026

    Windows Server patches breaking Exchange

    October 15, 2026
    Add A Comment

    Comments are closed.

    Tweets by InfoAltcoinvest

    Top Posts

    Ignite 2026 Digest | EighTwOne (821)

    November 25, 2026

    Exchange Named Property Exhaustion | EighTwOne (821)

    November 19, 2026

    Security Updates Exchange SE (Nov2026)

    November 10, 2026

    SushiSwap (SUSHI) Price Prediction 2026 2027 2028

    May 21, 2026

    Bitcoin Mining Centralizes as AI Decentralizes: Galaxy Research

    April 13, 2026

    Senator Warner Calls It ‘Crypto Hell’ as Senate Revives Stalled Bill

    February 6, 2026

    How to Revoke Token Approvals: Step-by-Step Guide

    September 12, 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

    Diablo IV: Lord of Hatred | Opening Cinematic

    December 5, 2026

    Zcash (ZEC), Monero (XMR) and Stellar (XLM) Price Analysis for December 4: December Starts Off on the Wrong Foot

    December 4, 2026

    NSA Asked OpenAI, Anthropic To Pause Crypto Research

    December 4, 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.