Uncategorized

Export UM Custom Prompts

My first attempt at a semi-useful PowerShell script. This script will export all UM prompts from all dial plans and auto attendants for Exchange 2010 and 2013. The output of the script is a collection of files with WAV extension on the running directory, matching the names of the custom prompts.

Future changes: Set a working folder, and organize the prompts into folders based on AA and DP name.

The output files are in WAV extension, but are actually MP3 files (Insert blame for Export-UMPrompt). There is another script coming that will convert these files from MP3 to 8Khz Mono PCM WAV files so they can be reused for other UM attendants.

Disclaimer: This is one of my first attempts at scripting, so the code may be completely unoptimized, slow, confusing or just plain ugly.

Hope this is useful!

https://gallery.technet.microsoft.com/Export-UM-Custom-Prompts-048ac1d4

Skype for Business for Android is now released

Skype for Business for Android is out of preview and finally released. Time to try it with the Grandstream GXV3275…

https://blogs.office.com/2015/12/16/skype-for-business-for-android-now-available/?wt.mc_id=soc_li_Office-365_Skype-for-Business_null&ls=soc&ca=Office-365&lsd=li&Ocid=1%20-%20Fans_Social_LINKEDIN_COMPANY_Skype%20for%20Business_20151216_305715181

Skype for Business November Cumulative Update

Released 11/17 and fixes an issue with Windows 10 users over Edge not able to join meetings using the Skype Web App.

It also adds a new Shared Line Appearance (SLA). More details on that here: https://support.microsoft.com/en-us/kb/3092727

Get the CU here: https://www.microsoft.com/en-us/download/details.aspx?id=47690

Awesome Skype for Business Visio Stencils

Paul Bloem’s stencils blow anything else out of the water. Zeacom servers, AudioCodes SBC’s, and better looking Skype for Business roles, even the CQD! What else could I want?

Excellent job Paul. I’ve shared this with my colleagues so they better vote 5 stars!

https://gallery.technet.microsoft.com/office/Skype-for-Business-2015-4a8f03dc

paulbloems4bstencil

Skype for Business Prerequisites one-liner

Technet has a PowerShell one-liner but it’s missing .NET 3.5 and the Windows Identity Foundation, which you need anyway. Here’s the one-liner that includes them (and assumes your media is on D:)

Install-WindowsFeature RSAT-ADDS, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Web-Scripting-Tools, Web-Mgmt-Compat, Desktop-Experience, Telnet-Client, Net-Framework-Core, Net-HTTP-Activation, Windows-Identity-Foundation -Source D:\Sources\SxS

Remote SfB PowerShell Administration

No time to install Management Tools? Or just want to test your scripts locally without having to copy/paste on the Front Ends or management nodes? This is what i do:

param(
 [string]$pool = $(Read-Host "Lync/SfB Pool")
 )
$Credential = Get-Credential
 $PSSessionOption = New-PSSessionOption -SkipCACheck:$true -SkipCNCheck:$true -SkipRevocationCheck:$true
 $PSSession = New-PSSession -ConnectionUri https://$pool/ocspowershell -Credential $Credential -SessionOption $PSSessionOption
 Import-PSSession $PSSession

Lync Server 2013 to Skype for Business Server 2015 In-Place Upgrade

Skype for Business 2015 was released today, and I get to try an upgrade in my lab before trying a greenfield rollout on a fresh domain. Here is what I have running right now:

  • Lync 2013 Enterprise Pool with 3 Front-End servers (DNS load balanced)
  • Lync 2013 Enterprise Edge server in a single pool with two perimeter networks
  • Mediation Server dual-homed in Server and Voice VLANs
  • Sophos UTM for networking and Reverse Proxy

First run of the setup.exe, we are asked to install a hotfix:

2015-05-01 12_29_47

Tried installing the December 2014 Rollup referenced by the hotfix and running setup again, but would not go, I had to actually request and install the hotfix.

After installing, it still failed, saying the following:

You cannot perform this upgrade until you have used Skype for Business Server 2015, Topology Builder to upgrade the Lync Server 2013 Pools and then publish the upgraded topology. If you have already published an updated topology those changes might not have replicated to this computer. You can force an immediate replication by running the Invoke-CsManagementStoreReplication cmdlet. You can also use the Export-CsConfiguration and Import-CsConfiguration -LocalStore cmdlets to copy the updated topology to this computer. For more information, see the appropriate cmdlet help topic.

Guh… but this makes more sense and right along the guidelines from Microsoft. However, at no point did Setup install any core components or give me the option to install the Administrative Tools.

What’s worse, I tried doing this myself by running admintools.msi and got denied since Lync 2013 components were already installed on the server.

2015-05-01 16_42_16

So I installed the Core Components (ocscore.msi), SQL 2014 Shared Management Objects (SharedManagementObjects.msi) and Administrative Tools (admintools.msi) manually on a VM dedicated for admin purposes, and then I was able to go about the topology modifications. PROGRESS!

After downloading the existing topology, we get our topology much like 2010/2013 was, separated in a tree format:

2015-05-01 16_53_44

And we see the new VIS-related nodes in Skype for Business 2015 topology and shared components:

2015-05-01 16_54_30

As part of the upgrade, we right click on the pool, and select Upgrade to Skype for Business Server 2015.

2015-05-01 16_56_20

We get a prompt and click Yes.

2015-05-01 18_33_46

And now our pool has been moved to the Skype for Business 2015 node.

2015-05-01 18_35_01

 

We then publish the topology like we normally would, and get a Select Databases prompt. This will in essence upgrade our back-end databases. Since this is an Enterprise Edition pool, we can upgrade the database without installing the Skype for Business 2015 components on the SQL server. If it were Standard Edition, the upgrade would take a different path.

2015-05-01 18_36_15

The topology is now published and database installed. The warnings are related to File Store permissions because it’s DFS-backed and thus this is expected.

2015-05-01 18_39_29

On the to-do list, we can see the following instructions:

To perform an in-place upgrade of your Skype for Business Server, you’ll need to do the following, in order:
(1) Stop the Skype for Business services on all of the servers that you are upgrading;
(2) Run Skype for Business Server setup (Setup.exe) on all of the servers you are upgrading;
(3) Start the Skype for Business services on all of the servers you upgraded. To start the services in a Front End pool, connect to one of the servers in the pool and run the Start-CsPool cmdlet. All the servers in the pool should be running Skype for Business Server before you use the Start-CsPool cmdlet. To start the services in all other pools (e.g. Edge pool, Mediation pool), run the Start-CsWindowsService cmdlet on every server in the pool;

And so the actual process begins. I will start by issuing Stop-CsWindowsService on all Front-Ends, then running setup. Note: If you don’t stop all services, Setup will check and won’t continue.

2015-05-01 18_47_56

Once all services are stopped in the pool, the upgrade can move forward.

2015-05-01 18_52_49

Once the Front-End is all done I get an Upgrade Completed with Warnings

2015-05-01 22_24_19

2015-05-01 22_27_30

Turns out the warning is simply that the installer can’t access the other Front-Ends, and can’t fully match the version. It should be safe to ignore. After clicking OK I get a final list of steps to be followed once all Front-Ends in the pool are updated:

2015-05-01 22_28_20

New Skype for Business Server icons! Fancy…

2015-05-01 22_33_19

After upgrading the other two Front-Ends we can issue Start-CsPool. Progress:

2015-05-01 23_04_47

And after about 3 minutes all services started and… POOF!

2015-05-01 23_07_34

We have liftoff! Client signs in quicker than Lync 2013 ever did… Maybe it’s all in my head…

2015-05-01 23_10_02

We can see the Control Panel GUI has changed quite a bit…

2015-05-01 23_36_01

Last to update are the Mediation and Edge, which should just be a matter of upgrading the pool from Topology Builder and then running Setup and letting the update wizard take care of everything…

Done for today…

Skype for Business Server 2015 is OUT!

Today Microsoft released the next version of Lync Server 2013, called Skype for Business Server 2015.

Over the next few days i will be going through the process of performing an in-place upgrade from Lync 2013, and a greenfield installation on a new domain with no Lync infrastructure.

Here’s a sneak peek:

2015-05-01 12_28_30

2015-05-01 12_29_47

See you at Microsoft Ignite!

The Microsoft Ignite conference for 2015 is kicking off next week starting May 4th, and that can’t come soon enough. I’ll attend mostly Skype for Business and Exchange vNext sessions. If you’re going to the conference, see you there!

Skype for Business Release Announcement

The million dollar question (at least in my team). When will Skype for Business be released? Well… Microsoft announced today that the bits for Skype for Business client, server and online services will be released in April. That’s next month!

Also, the technical preview of the Skype for Business client is starting today.

More: http://blogs.office.com/2015/03/16/get-ready-for-skype-for-business/

2015-03-16 09_56_47