Disable-CsOnlineDialInConferencingUser

 

上次修改主題的時間:2017-06-20

Use the Disable-CsOnlineDialInConferencingUser cmdlet to prevent a 商務用 Skype Online user from using dial-in or audio conferencing through 商務用 Skype Online.

Disable-CsOnlineDialInConferencingUser -Identity <UserIdParameter> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-SendEmail <SwitchParameter>] [-SendEmailFromAddress <String>] [-SendEmailFromDisplayName <String>] [-SendEmailToAddress <String>] [-Tenant <Guid>] [-TenantDomain <String>] [-WhatIf [<SwitchParameter>]]

This example disables user "Pilar Ackerman" from using audio conferencing and will prompt you to confirm the operation.

Disable-CsOnlineDialInConferencingUser -Identity "Pilar Ackerman" -Confirm

The Disable-CsOnlineDialInConferencingUser cmdlet validates that the user is provisioned for audio conferencing using Microsoft as the audio conferencing provider and then disables audio conferencing which prevents the user from setting up audio conferences or meetings. To disable the user, you must specify the TenantDomain or Tenant parameter.

When a user is disabled, the conference ID or passcode that was assigned to the user is released so it can be used by another user that is enabled for dial-in or audio conferencing even if they have a license assigned to them.

When you disable the user for audio conferencing using this cmdlet, it will check that the user belongs to the specified tenant or domain and any audio conferencing information is removed.

註記注意事項:
If the user is enabled for a third-party audio conferencing provider (ACP) and the Active Directory information is set, the cmdlet will fail and you must use the Remove-CsUserACP cmdlet.

 

Parameter Required Type Description

Identity

Required

Microsoft.Rtc.Management.AD.UserIdParameter

Specifies the identity of the user account that will be disabled for Skype for Business Online. A user identity can be specified by using one of four formats: 1) the user's SIP address; 2) the user's user principal name (UPN); 3) the user's domain name and logon name, in the form domain\logon (for example, litwareinc\kenmyer); and, 4) the user's Active Directory display name (for example, Ken Myer). You can also reference a user account by using the user’s Active Directory distinguished name.

Confirm

Optional

System.Management.Automation.SwitchParameter

Confirm 參數會導致此命令暫停處理,並需要確認才能進行。

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

PARAMVALUE: Fqdn

Force

Optional

System.Management.Automation.SwitchParameter

Force 參數會指定是否抑制警告和確認訊息。這在撰寫指令碼以抑制互動式提示時可能很有用。如果命令中不提供 Force 參數,您會在必要時看到提示管理員輸入。

SendEmail

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

SendEmailFromAddress

Optional

System.String

PARAMVALUE: String

SendEmailFromDisplayName

Optional

System.String

PARAMVALUE: String

SendEmailToAddress

Optional

System.String

PARAMVALUE: String

Tenant

Optional

System.Guid

指定您的商務用 Skype Online 租用戶帳戶的全域唯一識別項 (GUID)。例如︰-Tenant "38aad667-af54-4397-aaa7-e94c79ec2308"。 您可以藉由執行此命令,來尋找租用戶識別碼:Get-CsTenant | Select-Object DisplayName, TenantID

將保留此參數供 Microsoft 內部使用。

TenantDomain

Optional

System.String

Specifies the domain name for the tenant or organization.

將保留此參數供 Microsoft 內部使用。

WhatIf

Optional

System.Management.Automation.SwitchParameter

WhatIf 參數會導致此命令模擬其結果。使用此參數,您不需認可變更,就能檢視這些變更。

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

 
顯示: