PowerShell

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

Petri Newsletter Sign-up
Tech Tuesday

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

    See All Petri Newsletters

    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.

    Emailing Owners About Obsolete Office 365 Groups and Teams

    by Tony Redmond

    In February, I published a script to report the activity in Office 365 Groups and Teams. It is natural that some of those groups will be obsolete, so here's another script to email the owners of those groups. I know the script works because I tested it against 200 groups, but it's rough and ready and deserves some TLC from people who really know PowerShell.