Tom Talks Microsoft Teams and Skype for Business thoughts and news

TagPowerShell

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...

Run PowerShell Scripts Directly from GitHub with Two Lines

First off, this is a really bad idea most of the time. You shouldn’t run scripts on your system you don’t understand/haven’t reviewed and that someone else could edit at any time. However, it is possible to pull scripts directly from GitHub and run them on a system. Allowing you to use 2 simple lines to invoke a larger script, and to pull the latest version of a script every time. What we are...

Create a One Click Run As Shortcut with PowerShell

One of the challenges of working with so many Office 365/Windows Live ID’s/Microsoft accounts is that you are constantly logging in and out of them. You can run multiple browsers or run in incognito/private modes, but that can be a pain, and sometimes you want to be in multiple sessions concurrently. For example, you might have a personal Microsoft Account, a work account, and a Dev/Test/MSDN...

Tom Talks Microsoft Teams and Skype for Business thoughts and news