PowerShell を使用して Surface Hub 2S オンプレミスのアカウントを構成するConfigure Surface Hub 2S on-premises accounts with PowerShell
Exchange Server PowerShell に接続するConnect to Exchange Server PowerShell
重要
これらのコマンドレットの一部では、オンプレミスの Exchange サーバーのクライアントアクセスサービスの完全修飾ドメイン名 (FQDN) が必要です。You'll need the Fully Qualified Domain Name (FQDN) for the Client Access service of the on-premises Exchange server for some of these cmdlets.
$ExchServer = Read-Host "Please Enter the FQDN of your Exchange Server"
$ExchSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://$ExchServer/PowerShell/ -Authentication Kerberos -Credential (Get-Credential)
Import-PSSession $ExchSession
デバイスアカウントを作成するCreate the device account
New-Mailbox -UserPrincipalName Hub01@contoso.com -Alias Hub01 -Name "Hub 01" -Room -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force)
カレンダーの自動処理を設定するSet automatic calendar processing
Set-CalendarProcessing -Identity "HUB01@contoso.com" -AutomateProcessing AutoAccept -AddOrganizerToSubject $false –AllowConflicts $false –DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false -AddAdditionalResponse $true -AdditionalResponse "This room is equipped with a Surface Hub"
Skype for Business オブジェクトを有効にするEnable the Skype for Business object
注意
Skype for Business レジストラープールの FQDN を知っていることが重要です。It is important that you know the FQDN of the Skype for Business Registrar Pool.
Enable-CsMeetingRoom -Identity Contoso\HUB01 -SipAddressType emailaddress -RegistrarPool SfbIEFE01.contoso.local
モバイルデバイスメールボックスポリシーMobile Device Mailbox Policy
Surface Hub がオンラインまたはオンプレミス環境に接続できるように、モバイルデバイスメールボックスポリシー (ActiveSync ポリシーとも呼ばれます) を作成する必要がある場合があります。You may need to create a Mobile Device Mailbox Policy (also known as ActiveSync Policy) to allow your Surface Hub to connect to your online or on-premises environment.
Surface Hub モバイルデバイスメールボックスポリシーを作成するCreate a Surface Hub mobile device mailbox policy
New-MobileDeviceMailboxPolicy -Name “Surface Hubs” -PasswordEnabled $false
追加設定Additional settings
ユーザーが会議を Skype for Business または Teams 会議にすることを忘れないように、メールヒントを Surface Hub ルームに追加することをお勧めします。It is recommended to add a MailTip to Surface Hub rooms so users remember to make the meeting a Skype for Business or Teams meeting:
Set-Mailbox "Surface Hub 2S" -MailTip "This is a Surface Hub room. Please make sure this is a Microsoft Teams meeting."