Merged PR 3409: Fixed scripts for Surface Hub

This commit is contained in:
Jeanie Decker
2017-09-25 19:44:29 +00:00
parent ae98d0a890
commit 56c1a61afa
2 changed files with 4 additions and 14 deletions

View File

@ -9,7 +9,7 @@ ms.sitesec: library
ms.pagetype: surfacehub ms.pagetype: surfacehub
author: jdeckerms author: jdeckerms
ms.author: jdecker ms.author: jdecker
ms.date: 08/16/2017 ms.date: 09/25/2017
ms.localizationpriority: medium ms.localizationpriority: medium
--- ---
@ -298,11 +298,6 @@ PrintSuccess "Connected to Lync Server Remote PowerShell"
Import-PSSession $sessExchange -AllowClobber -WarningAction SilentlyContinue Import-PSSession $sessExchange -AllowClobber -WarningAction SilentlyContinue
Import-PSSession $sessLync -AllowClobber -WarningAction SilentlyContinue Import-PSSession $sessLync -AllowClobber -WarningAction SilentlyContinue
# In case there was any uncaught errors
ExitIfError("Remote connections failed. Please check your credentials and try again.")
## Create the Exchange mailbox ## ## Create the Exchange mailbox ##
# Note: These exchange commandlets do not always throw their errors as exceptions # Note: These exchange commandlets do not always throw their errors as exceptions
@ -670,11 +665,6 @@ catch
Import-PSSession $sessExchange -AllowClobber -WarningAction SilentlyContinue Import-PSSession $sessExchange -AllowClobber -WarningAction SilentlyContinue
Import-PSSession $sessCS -AllowClobber -WarningAction SilentlyContinue Import-PSSession $sessCS -AllowClobber -WarningAction SilentlyContinue
# In case there was any uncaught errors
ExitIfError "Remote connection failed. Please check your credentials and try again."
## Create the Exchange mailbox ## ## Create the Exchange mailbox ##
# Note: These exchange commandlets do not always throw their errors as exceptions # Note: These exchange commandlets do not always throw their errors as exceptions
@ -1571,8 +1561,7 @@ catch
Import-PSSession $sessCS -AllowClobber Import-PSSession $sessCS -AllowClobber
# In case there was any uncaught errors
ExitIfError("Remote connection failed. Please check your credentials and try again.")
Write-Host "--------------------------------------------------------------." -foregroundcolor "magenta" Write-Host "--------------------------------------------------------------." -foregroundcolor "magenta"
# Getting registrar pool # Getting registrar pool

View File

@ -8,7 +8,7 @@ ms.sitesec: library
ms.pagetype: surfacehub ms.pagetype: surfacehub
author: jdeckerms author: jdeckerms
ms.author: jdecker ms.author: jdecker
ms.date: 08/17/2017 ms.date: 09/25/2017
ms.localizationpriority: medium ms.localizationpriority: medium
--- ---
@ -21,6 +21,7 @@ This topic lists new and updated topics in the [Surface Hub Admin Guide]( surfac
New or changed topic | Description New or changed topic | Description
--- | --- --- | ---
[Top support solutions for Surface Hub](support-solutions-surface-hub.md) | New [Top support solutions for Surface Hub](support-solutions-surface-hub.md) | New
[PowerShell for Surface Hub](appendix-a-powershell-scripts-for-surface-hub.md) | Updated account creation scripts
## August 2017 ## August 2017