Close Menu
Altcoinvest
    What's Hot

    If Hyperliquid Fails, Does Crypto Survive?

    April 19, 2026

    Ethereum Foundation-Backed Program Exposes 100 Nort Korea Operatives Infiltrating Crypto Firms

    April 19, 2026

    SEC Gives Some Self-Custody Crypto Apps 5 Years to Sort Out Broker Licensing

    April 19, 2026
    Facebook X (Twitter) Instagram
    Altcoinvest
    • Bitcoin
    • Altcoins
    • Exchanges
    • Youtube
    • Crypto Wallets
    • Learn Crypto
    • bitcoinBitcoin(BTC)$75,488.00-2.33%
    • ethereumEthereum(ETH)$2,339.11-3.25%
    • tetherTether(USDT)$1.000.00%
    • rippleXRP(XRP)$1.43-2.95%
    • binancecoinBNB(BNB)$622.50-3.14%
    • usd-coinUSDC(USDC)$1.000.00%
    • solanaSolana(SOL)$85.55-3.74%
    • tronTRON(TRX)$0.3276570.05%
    • Figure HelocFigure Heloc(FIGR_HELOC)$1.041.31%
    • dogecoinDogecoin(DOGE)$0.094654-4.49%
    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

    Cardano Sentiment Turns Cautious as NIGHT Token Fallout and $0.45 Resistance Cap Price Action

    December 13, 2025

    VTHO is available for trading!

    January 17, 2026

    Fundstrat’s Lee Sees Painful Market Decline to Start 2026

    January 21, 2026

    BREAKING CRYPTO NEWS! 🚨 MAJOR NEWS HITTING LIVE NOW! (urgent!)🚨 Why Crypto is Crashing RIGHT NOW

    December 1, 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

    If Hyperliquid Fails, Does Crypto Survive?

    April 19, 2026

    Ethereum Foundation-Backed Program Exposes 100 Nort Korea Operatives Infiltrating Crypto Firms

    April 19, 2026

    SEC Gives Some Self-Custody Crypto Apps 5 Years to Sort Out Broker Licensing

    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.