How to create a PowerShell Script for Microsoft Teams Client Deployment

PowerShell Script for Microsoft Teams Client Deployment How to create a PowerShell script for automating the deployment of the Microsoft Teams desktop client for Windows?   Instructions Download the Teams client installer from Microsoft. Run the script and specify the -SourcePath for the installer.   Example: From PowerShell .\InstallMSTeams.ps1 -Source \\Share\MicrosoftTeams Explanation: Using the example command above, the script will… Read more

Lync/Skype4B Server: Manually update the Edge Server Configuration

In a recent support case we had a case that the customer had some urgency to add a new Allowed Domain to be quickly pushed to his Skype for Business 2015 Edge Servers. However, the replication wasn’t working: Get-CsManagementStoreReplicationStatus | ft -AutoSize https://technet.microsoft.com/en-us/library/gg399052.aspx An easy solution to this is to perform a manual update and… Read more

Lync/SfB Server: Create a custom announcement for Unanswered Calls

We were asked if we could customize the sound/tone for unanswered calls when the called user isn’t voice mail enabled. Usually the mobile networks will play a announcement like “Sorry, the person you tried to call isn’t available please try again later”. In Lync/SfB Server we cannot change the default tone, however, we can use… Read more

Skype for Business Server Component Version using Get-CsServerPatchVersion

The recent November 2015 Cumulative Update for Skype for Business Server 2015 added the Get-CsServerPatchVersion to the available PowerShell cmdlets. This new PowerShell cmdlet replaces the previous methods (Windows Registry and WMI Classes). To get the Skype4B Server Component Version: Skype for Business Server 2015 Component Version using PowerShell We need to make sure that… Read more

Lync/SfB Server: Test-CsDatabase uses local server to determine ExpectedVersion

While doing some lab testing we notice the Test-CsDatabase uses the local server current update to verify which is the expected version. As an example, in our lab we have pool.gears.lab with January 2014 Cumulative Update and it will return the following: Test-CsDatabase -ConfiguredDatabases -SqlServerFqdn sql01.gears.lab | Select SqlServerFqdn, SqlInstanceName, DatabaseName, InstalledVersion, ExpectedVersion | ft -AutoSize… Read more

Skype for Business Server 2015 Component Version using PowerShell

First of all, welcome to the UC Lobby @ TechNet. As a first article, we decided to start with the new Skype for Business Server 2015 and how to check the components version using PowerShell. There are two methods: using Windows Registry or the WMI Classes. Both methods were previously published for Lync Server 2010… Read more

Lync Server Component Version using PowerShell (Windows Registry)

One of the first posts was about how to get Lync Server Component versions: Lync Server Component Version with PowerShell In that post, we used Get-WmiObject to query the server. Nevertheless, using that method can be slow, and for sometime it was the only one we knew. In the post Hey, Scripting Guy! Blog – Use… Read more

Lync Server Component Version using PowerShell (WMI Classes)

Every Lync Server administrator must have this Cmdlet, which shows each Lync Server 2010/2013 Component’s version: Get-WmiObject -class Win32_Product | where {$_.name -like “*Lync Server*”} | Sort-Object Name | Select Name, Version |ft -AutoSize The result will be like this: Or in Lync Server 2010: To save the result in a file just add “>>… Read more