Tom Talks Microsoft Teams and Microsoft 365 Collaboration news and opinions

TagPowerShell

Find Microsoft Teams teams without an Owner, Teams Admin Center and PowerShell

Each Microsoft Teams team should have an owner, preferably two. Owners have the same abilities as members, but also have the exclusive abilities of: Edit team name/description Delete team Add members (in a private team, in a public team anyone can add members) Equally importantly, owners give IT people who are responsible for the management of a team and it’s content throughout its lifecycle...

Microsoft Teams General Availability and Preview PowerShell Modules

We have had a Teams PowerShell module for since 2017, but it has always been a preview state, using the Microsft Graph beta API Under the covers, there are two Microsoft Graph API’s that can provide data from Microsoft teams, beta and 1.0. The beta graph API provides some abilities, not in the GA/1.0 graph API, but is, by definition beta/preview. Some customers have a requirement to not use...

Microsoft Teams PowerShell Module 0.9.6

  Microsoft has updated the Microsoft Teams PowerShell module to 0.9.6 The available cmdlets themselves remain the same, but three are 3 changes There is a change in how New-Team behaves. The New-Team –AddCreatorAsMember parameter has been removed.  In its place, there is an optional parameter -Owner.  You can use this –Owner parameter to specify the full userid (e.g. Person1@tenant...

Microsoft Teams PowerShell: Getting All Teams, Changing Team Settings and Adding and Removing Users from Teams

As of Microsoft Teams PowerShell 0.95, you can now get and administer all Microsoft Teams as an Office 365 administrator. Previous to 0.95 release, it only worked for teams the current user running the PowerShell was a member of, which made it too limited for any real administration. First, run PowerShell as a local administrator and install the Module Install-Module -Name MicrosoftTeams ...

Connecting to Skype for Business Online PowerShell from Windows 7

Windows 7 x64: Install Latest PowerShell (Windows Management Framework 5.1) Version:  Install SfBO Module: In PowerShell “install-module AzureADPreview”   Background Without the AzureAD Module I got an error: Could not load file or assembly ‘Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.19.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its...

Get-OfficeApplicationCrashes – Get Summary of Office Application Crashes from Windows Event Log with PowerShell

I had reason to need to quickly understand how often a particular PC was experiencing Office Application Crashes, so I wrote this quick PowerShell to filter the event log and find office 16.x crashes based on the event ID 1000. I sorted them by Message to quickly see which application or applications were causing issues. This is also useful to see if a specific version number is causing issues...

Get Skype for Business Client Version with PowerShell

As discussed in previous blog posts, there are many different Skype for Business clients (mobile, windows, Mac, IP Phone, Rooms etc.) and even within “Windows” there are many different versions (MSI, Click to Run with various Channels, “2013/2015” and 2016), there is also 32-bit and 64-bit. To add further confusion, the “version number” listed in the Skype for Business Help / About is the “MSO”...

Set-OfficeChannel – Set Your Office Click to Run Channel with PowerShell

I’ve written a quick PowerShell script to allow you to choose your Channel from a Menu. The script sets the appropriate registry key to define the channel and kicks off the Office Click to Run Update to pull the latest build. This allows you to quickly move from channel to channel, even “backwards or forwards” This will “override” the tenant level setting You must run the script as...

Tom Talks Microsoft Teams and Microsoft 365 Collaboration news and opinions