mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-13 05:47:23 +00:00
Moved powershell config into create account
This commit is contained in:
parent
9d75170998
commit
21cfd5f5a8
@ -11,11 +11,11 @@
|
|||||||
### [Surface Hub 2S Site Readiness Guide](surface-hub-2s-site-readiness-guide.md)
|
### [Surface Hub 2S Site Readiness Guide](surface-hub-2s-site-readiness-guide.md)
|
||||||
#### [Site planning for Surface Hub 2S](surface-hub-2s-site-planning.md)
|
#### [Site planning for Surface Hub 2S](surface-hub-2s-site-planning.md)
|
||||||
#### [Surface Hub 2S quick start](surface-hub-2s-quick-start.md)
|
#### [Surface Hub 2S quick start](surface-hub-2s-quick-start.md)
|
||||||
#### [Installing and mounting Surface Hub 2S](surface-hub-2s-install-mount.md)
|
#### [Install and mount Surface Hub 2S](surface-hub-2s-install-mount.md)
|
||||||
#### [Customizing installation of Surface Hub 2S](surface-hub-2s-custom-install.md)
|
#### [Customizing installation of Surface Hub 2S](surface-hub-2s-custom-install.md)
|
||||||
#### [Setup worksheet](setup-worksheet-surface-hub.md)
|
#### [Setup worksheet](setup-worksheet-surface-hub.md)
|
||||||
#### [Surface Hub 2S ports and keypad overview](surface-hub-2s-port-keypad-overview.md)
|
#### [Surface Hub 2S ports and keypad overview](surface-hub-2s-port-keypad-overview.md)
|
||||||
#### [Connecting to Surface Hub 2S](surface-hub-2s-connect.md)
|
#### [Connect devices to Surface Hub 2S](surface-hub-2s-connect.md)
|
||||||
### [Prepare your environment for Microsoft Surface Hub 2S](surface-hub-2s-prepare-environment.md)
|
### [Prepare your environment for Microsoft Surface Hub 2S](surface-hub-2s-prepare-environment.md)
|
||||||
### [Configure Easy Authentication for Surface Hub 2S](surface-hub-2s-phone-authenticate.md)
|
### [Configure Easy Authentication for Surface Hub 2S](surface-hub-2s-phone-authenticate.md)
|
||||||
|
|
||||||
@ -24,11 +24,10 @@
|
|||||||
### [Create Surface Hub 2S device account](surface-hub-2s-account.md)
|
### [Create Surface Hub 2S device account](surface-hub-2s-account.md)
|
||||||
### [Create provisioning packages for Surface Hub 2S](surface-hub-2s-deploy.md)
|
### [Create provisioning packages for Surface Hub 2S](surface-hub-2s-deploy.md)
|
||||||
### [Deploy apps to Surface Hub 2S using Intune](surface-hub-2s-deploy-apps-intune.md)
|
### [Deploy apps to Surface Hub 2S using Intune](surface-hub-2s-deploy-apps-intune.md)
|
||||||
### [Configure Surface Hub 2S with PowerShell](surface-hub-2s-configure-with-powershell.md)
|
|
||||||
### [Create Surface Hub 2S on-premises accounts with PowerShell](surface-hub-2s-onprem-powershell.md)
|
### [Create Surface Hub 2S on-premises accounts with PowerShell](surface-hub-2s-onprem-powershell.md)
|
||||||
|
|
||||||
## Manage
|
## Manage
|
||||||
### [Managing Surface Hub 2S with Microsoft Intune](surface-hub-2s-manage-intune.md)
|
### [Manage Surface Hub 2S with Microsoft Intune](surface-hub-2s-manage-intune.md)
|
||||||
### [Local management for Surface Hub 2S settings](local-management-surface-hub-settings.md)
|
### [Local management for Surface Hub 2S settings](local-management-surface-hub-settings.md)
|
||||||
### [Manage device account password rotation](surface-hub-2s-manage-passwords.md)
|
### [Manage device account password rotation](surface-hub-2s-manage-passwords.md)
|
||||||
### [Manage Windows updates](manage-windows-updates-for-surface-hub.md)
|
### [Manage Windows updates](manage-windows-updates-for-surface-hub.md)
|
||||||
|
@ -17,13 +17,11 @@ Creating a Surface Hub device account (also known as a Room mailbox) allows Surf
|
|||||||
|
|
||||||
Unlike standard Room mailboxes that remain disabled by default, you need to enable the Surface Hub 2S device account to sign on to Microsoft Teams and Skype for Business. Surface Hub 2S relies on Exchange ActiveSync, which requires an ActiveSync mailbox policy on the device account. Apply the default ActiveSync mailbox policy that comes with Exchange Online.
|
Unlike standard Room mailboxes that remain disabled by default, you need to enable the Surface Hub 2S device account to sign on to Microsoft Teams and Skype for Business. Surface Hub 2S relies on Exchange ActiveSync, which requires an ActiveSync mailbox policy on the device account. Apply the default ActiveSync mailbox policy that comes with Exchange Online.
|
||||||
|
|
||||||
Complete advanced configuration tasks using Windows PowerShell. For example:
|
Create the account using the Microsoft 365 admin center or by using PowerShell. You can use Exhange Online PowerShell to configure specific features including:
|
||||||
|
|
||||||
- If the default ActiveSync mailbox policy has already been modified by someone else or another process, you will likely have to create and assign a new ActiveSync mailbox policy using Exchange Online PowerShell.
|
- Calendar processing for every Surface Hub device account.
|
||||||
- You need to configure calendar processing for every Surface Hub device account using PowerShell.
|
- Custom auto replies to scheduling requests.
|
||||||
- If you want Surface Hub 2S to send a custom auto reply in response to scheduling requests, you need to configure that using Exchange Online PowerShell.
|
- If the default ActiveSync mailbox policy has already been modified by someone else or another process, you will likely have to create and assign a new ActiveSync mailbox policy
|
||||||
|
|
||||||
For more information, see [Configure Surface Hub 2S accounts with PowerShell](surface-hub-2s-configure-with-powershell.md).
|
|
||||||
|
|
||||||
## Create account using Microsoft 365 admin center
|
## Create account using Microsoft 365 admin center
|
||||||
|
|
||||||
@ -43,8 +41,51 @@ For more information, see [Configure Surface Hub 2S accounts with PowerShell](su
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Finalize setup via PowerShell
|
### Finalize setup via PowerShell
|
||||||
|
|
||||||
- **Skype for Business:** For Skype for Business only (on-premises or online), you can enable the Skype for Business object by running **Enable-CsMeetingRoom** to enable features such as Meeting room prompt for audio and Lobby hold.
|
- **Skype for Business:** For Skype for Business only (on-premises or online), you can enable the Skype for Business object by running **Enable-CsMeetingRoom** to enable features such as Meeting room prompt for audio and Lobby hold.
|
||||||
- **Calling features:** Regardless of your Office 365 licensing configuration, run *Enable-CsMeetingRoom* to enable features such as **Meeting room prompt for audio** and **Lobby hold**.
|
- **Calling features:** Regardless of your Office 365 licensing configuration, run *Enable-CsMeetingRoom* to enable features such as **Meeting room prompt for audio** and **Lobby hold**.
|
||||||
- **Calendar:** Set **Calendar Auto processing** for this account.
|
- **Calendar:** Set **Calendar Auto processing** for this account.
|
||||||
|
|
||||||
|
## Create account using PowerShell
|
||||||
|
Instead of using the Microsoft Admin Center portal, you can create the account using PowerShell.
|
||||||
|
|
||||||
|
### Connect to Exchange Online PowerShell
|
||||||
|
```
|
||||||
|
$365Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential (Get-Credential) -Authentication Basic –AllowRedirection $ImportResults = Import-PSSession $365Session
|
||||||
|
```
|
||||||
|
|
||||||
|
### Create a new Room Mailbox
|
||||||
|
|
||||||
|
```
|
||||||
|
New-Mailbox -MicrosoftOnlineServicesID account@YourDomain.com -Alias SurfaceHub2S -Name SurfaceHub2S -Room -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String "<Enter Strong Password>" -AsPlainText -Force)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Set Calendar Auto processing
|
||||||
|
|
||||||
|
```
|
||||||
|
Set-CalendarProcessing -Identity "account@YourDomain.com" -AutomateProcessing AutoAccept -AddOrganizerToSubject $false –AllowConflicts $false –DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false -AddAdditionalResponse $true -AdditionalResponse "This room is equipped with a Surface Hub"
|
||||||
|
```
|
||||||
|
|
||||||
|
### Assign a license
|
||||||
|
|
||||||
|
```
|
||||||
|
Connect-MsolService
|
||||||
|
Set-Msoluser -UserPrincipalName account@YourDomain.com -UsageLocation IE
|
||||||
|
Set-MsolUserLicense -UserPrincipalName "account@YourDomain.com" -AddLicenses "contoso:MEETING_ROOM"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Connect to Skype for Business Online using PowerShell
|
||||||
|
|
||||||
|
### Install prerequisites
|
||||||
|
|
||||||
|
- [Visual C++ 2017 Redistributable](https://aka.ms/vs/15/release/vc_redist.x64.exe)
|
||||||
|
- [Skype for Business Online PowerShell Module](https://www.microsoft.com/en-us/download/confirmation.aspx?id=39366)
|
||||||
|
|
||||||
|
```
|
||||||
|
Import-Module LyncOnlineConnector
|
||||||
|
$SfBSession = New-CsOnlineSession -Credential (Get-Credential)
|
||||||
|
Import-PSSession $SfBSession -AllowClobber
|
||||||
|
Enable the Skype for Business meeting room
|
||||||
|
Enable-CsMeetingRoom -Identity account@YourDomain.com -RegistrarPoo(Get-CsTenant).Registrarpool -SipAddressType EmailAddress
|
||||||
|
```
|
@ -1,54 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Configure Surface Hub 2S accounts with PowerShell"
|
|
||||||
description: "Learn how to configure Surface Hub 2S accounts with PowerShell"
|
|
||||||
keywords: separate values with commas
|
|
||||||
ms.prod: surface-hub
|
|
||||||
ms.sitesec: library
|
|
||||||
author: robmazz
|
|
||||||
ms.author: robmazz
|
|
||||||
audience: Admin
|
|
||||||
ms.topic: article
|
|
||||||
ms.localizationpriority: Normal
|
|
||||||
---
|
|
||||||
# Configure Surface Hub 2S online accounts with PowerShell
|
|
||||||
|
|
||||||
## Connect to Exchange Online PowerShell
|
|
||||||
|
|
||||||
```
|
|
||||||
$365Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential (Get-Credential) -Authentication Basic –AllowRedirection $ImportResults = Import-PSSession $365Session
|
|
||||||
```
|
|
||||||
|
|
||||||
## Create a new Room Mailbox
|
|
||||||
|
|
||||||
```
|
|
||||||
New-Mailbox -MicrosoftOnlineServicesID account@YourDomain.com -Alias SurfaceHub2S -Name SurfaceHub2S -Room -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String "<Enter Strong Password>" -AsPlainText -Force)
|
|
||||||
```
|
|
||||||
|
|
||||||
## Set Calendar Auto processing
|
|
||||||
|
|
||||||
```
|
|
||||||
Set-CalendarProcessing -Identity "account@YourDomain.com" -AutomateProcessing AutoAccept -AddOrganizerToSubject $false –AllowConflicts $false –DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false -AddAdditionalResponse $true -AdditionalResponse "This room is equipped with a Surface Hub"
|
|
||||||
```
|
|
||||||
|
|
||||||
## Assign a license
|
|
||||||
|
|
||||||
```
|
|
||||||
Connect-MsolService
|
|
||||||
Set-Msoluser -UserPrincipalName account@YourDomain.com -UsageLocation IE
|
|
||||||
Set-MsolUserLicense -UserPrincipalName "account@YourDomain.com" -AddLicenses "contoso:MEETING_ROOM"
|
|
||||||
```
|
|
||||||
|
|
||||||
## Connect to Skype for Business Online using PowerShell
|
|
||||||
|
|
||||||
### Install prerequisites
|
|
||||||
|
|
||||||
- [Visual C++ 2017 Redistributable](https://aka.ms/vs/15/release/vc_redist.x64.exe)
|
|
||||||
- [Skype for Business Online PowerShell Module](https://www.microsoft.com/en-us/download/confirmation.aspx?id=39366)
|
|
||||||
|
|
||||||
```
|
|
||||||
Import-Module LyncOnlineConnector
|
|
||||||
$SfBSession = New-CsOnlineSession -Credential (Get-Credential)
|
|
||||||
Import-PSSession $SfBSession -AllowClobber
|
|
||||||
Enable the Skype for Business meeting room
|
|
||||||
Enable-CsMeetingRoom -Identity account@YourDomain.com -RegistrarPoo(Get-CsTenant).Registrarpool -SipAddressType EmailAddress
|
|
||||||
```
|
|
Loading…
x
Reference in New Issue
Block a user