This PowerShell script helps users locate all teams with private channels by querying and checking each one. It produces a detailed output that includes each team and its private channels. It also offers lists of all channel members and owners.
As you probably know, private channels are helpful for almost all organizations. They enable people to improve how they work by allowing them to:
The challenge with private channels is that users can create them without any criteria, which can be problematic when it comes to Microsoft 365 governance, creating all kinds of issues. And since we know how it can be challenging to solve these issues, we’ve created a PowerShell script to help you when you need to find teams with private channels.
For your convenience, the output is displayed on the screen by default. You may also use one of the optional flags to export the result to CSV:
-ExportCSV (if set, this will automatically export the result to a CSV file. If no export path is set, it will export the file to %temp% folder)
Example: Get-TeamsWithPrivateChannels.ps1 -ExportCSV
-ExportFilePath
Example: Get-TeamsWithPrivateChannels.ps1 -ExportCSV -ExportFilePath “C:Tempreport.csv”
Just focus on collaborating with your team while our script takes care of finding the private channels.
We hope our PowerShell script helps, but there is a better way to do it next time. Syskit Point is hands down the easiest way to breeze through discovering teams with private channels. Additionally, it can give you various reports in real-time and allows easy online access so you can share them with colleagues or managers using a simple link.
Its features enable exporting of Excel or PDF reports and performing management actions directly from a report, making it a breeze to check project settings, security, and database information. You can review operational policies, time, and task management settings, the projects list, and project permissions.
Syskit Point gives you complete visibility of your entire Microsoft 365 environment and lets you act in real time, no matter the challenge of the day.