Using PowerShell Scripts for setting up Microsoft Surface Hub/SRS

I was setting up a new Surface Hub & SRS accounts on our Office 365 tenant and it was failing at creating the Exchange account. No reason why.  Turns out password policy was the issue, so make sure you use a complex pa$$w0rd123 or something, depending on your tenant settings.

 

Also to get the scripts to work you need to change execution policy for unsigned PowerShell scripts.  As an example, below are the two commands I used.  Further information here.

 

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Undefined

Set-ExecutionPolicy Unrestricted

 

Scripts can be found here https://gallery.technet.microsoft.com/scriptcenter/Surface-Hub-device-account-6db77696.  There should be some new ones soon that will cover the Hub and Skype Room Systems (Project Rigel).