PowerShell

Office 365 Successes and Failures Since 2011

by Tony Redmond

Office 365 has experienced great success since its launch in June 2011, but it's also had its share of failures as well. This article considers the most important technical advances in Office 365 and the most important parts of the ecosystem as well as some places where things didn't go quite so well as either Microsoft or tenants would have liked.

Speedy PowerShell Access to Office 365 Groups with Get-ExoRecipient

with 2 Comments by Tony Redmond

The new Exchange Online Management PowerShell module has cmdlets that are faster than their older Remote PowerShell equivalents. Converting scripts to make the new cmdlets work takes some effort because the REST-based cmdlets have their own little quirks that need to be understood and mastered before scripts work properly. This example explains some of the issues met when converting code to report the Inbox sizes and items for Office 365 groups.

Petri Newsletter Sign-up
Tech Tuesday

Subscribe to Tech Tuesday, the latest insights from Petri.com for IT Pros.

    See All Petri Newsletters

    Teams Doesn’t Need Two PowerShell Modules (But Why Two Exist)

    with 2 Comments by Tony Redmond

    If you work with Teams through PowerShell, you'll know that you sometimes need to open the Skype for Business Online module. It's a royal pain in the rear end to deal with two inconsistent modules. It would be much neater if everything was gathered into one coherent module. However, that's not going to happen much before Skype for Business Online retires in 2021. In the interim, here are seven sets of policy cmdlets that you'll probably need to use to assign policies to multiple users at one time.

    How Error Handling Works in PowerShell 7

    by Adam Bertram

    How Error Handling Works in PowerShell 7 Among the many exciting features being introduced by PowerShell 7, there is a lot of new error display functionality as well! PowerShell already has a robust error handling capability and with these new features, it makes troubleshooting that much easier. Understanding Errors within PowerShell First, it helps to… Read More

    Discover Who Creates Guest Accounts in Office 365 Applications

    with 2 Comments by Tony Redmond

    Office 365 applications now create many guest accounts in Azure Active Directory. You can see what accounts exist, but it's more difficult to discover who created the accounts - or why they were created. Fortunately, the Office 365 audit log holds a lot of useful data that can be interrogated to find some answers and PowerShell is a great tool for slicing and dicing audit data. See what you think of the answers I've come up with.