Find-CsGroup

 

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

Use the Find-CsGroup cmdlet to search groups.

Find-CsGroup -SearchQuery <String> [-ExactMatchOnly <$true | $false>] [-Force <SwitchParameter>] [-MaxResults <UInt32>] [-Tenant <Guid>]

This example finds and displays up to five groups that match the "Contoso Group" search query.

Find-CsGroup -SearchQuery "Contoso Group" -MaxResults 5

This example finds and displays only those groups that are an exact match to the search query.

Find-CsGroup -SearchQuery "ed0d1180-169e-47c7-b718-bf9e60543914" -ExactMatchOnly $true

The Find-CsGroup cmdlet lets you search groups in the Azure Address Book Service (AABS).

 

Parameter Required Type Description

SearchQuery

Required

System.String

The SearchQuery parameter defines a search query to search the display name or the sip address or the GUID of groups. This parameter accepts partial search query. The search is not case sensitive.

ExactMatchOnly

Optional

System.Boolean

The ExactMatchOnly parameter instructs the cmdlet to return exact matches only. The default value is false

Force

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

MaxResults

Optional

System.UInt32

The MaxResults parameter identifies the maximum number of results to return. If this parameter is not provided, the default is value is 10.

Tenant

Optional

System.Guid

PARAMVALUE: Guid

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

The Find-CsGroup cmdlet returns a list of Microsoft.Rtc.Management.Hosted.Group.Models.GroupModel. Microsoft.Rtc.Management.Hosted.Group.Models.GroupModel contains Id and DisplayName.

 
顯示: