Skip to content

Commit 6c2c9c4

Browse files
authored
Merge branch 'master' into patch-1
2 parents f3eda4d + 2811854 commit 6c2c9c4

File tree

10 files changed

+126
-10
lines changed

10 files changed

+126
-10
lines changed

exchange/docs-conceptual/exchange-online/exchange-online-powershell-v2/app-only-auth-powershell-v2.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,13 @@ The following examples show how to use the Exchange Online PowerShell V2 module
3030
```powershell
3131
Connect-ExchangeOnline -CertificateFilePath "C:\Users\johndoe\Desktop\automation-cert.pfx" -AppID "alpha-beta-gamma-123456" -TenantID "contosoelectronics.onmicrosoft.com"
3232
```
33-
33+
3434
- Connect using a certificate thumbprint:
3535

3636
```powershell
3737
Connect-ExchangeOnline -CertificateThumbPrint "012THISISADEMOTHUMBPRINT" -AppID "alpha-beta-gamma-123456" -TenantID "contosoelectronics.onmicrosoft.com"
3838
```
39+
3940
When you use the _CertificateThumbPrint_ parameter, the certificate needs to be installed on the computer where you are running the command. The certificate should be installed in the user certificate store.
4041

4142
- Connect using an existing service principal and client-secret:

exchange/docs-conceptual/exchange-online/exchange-online-powershell-v2/cmdlet-property-sets.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ description: "Learn about the available property sets in the Exchange Online Pow
2020

2121
This topic describes the property sets that are available in the new cmdlets in the [Exchange Online PowerShell V2 module](exchange-online-powershell-v2.md). For more information about property sets, see [Properties and property sets in the EXO V2 module](exchange-online-powershell-v2.md#properties-and-property-sets-in-the-exo-v2-module).
2222

23+
For more information about filtering in the EXO V2 module, see [Filters in the Exchange Online V2 module](filters-v2.md).
24+
2325
## Get-EXOCasMailbox property sets
2426

2527
The available property sets for the **Get-EXOCasMailbox** cmdlet and the properties they contain are described in the following table:

exchange/docs-conceptual/exchange-online/exchange-online-powershell-v2/exchange-online-powershell-v2.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ The new cmdlets in the EXO V2 module are listed in the following table:
5252
|[Disconnect-ExchangeOnline](https://docs.microsoft.com/powershell/module/exchange/disconnect-exchangeonline)|[Remove-PSSession](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/remove-pssession)|
5353
|[Connect-IPPSSession](https://docs.microsoft.com/powershell/module/exchange/connect-ippssession)|[Connect-IPPSSession](https://docs.microsoft.com/powershell/exchange/office-365-scc/connect-to-scc-powershell/mfa-connect-to-scc-powershell)|
5454

55-
5655
## Install and maintain the Exchange Online PowerShell V2 module
5756

5857
You can download the EXO V2 module from the PowerShell gallery [here](https://www.powershellgallery.com/packages/ExchangeOnlineManagement/).
@@ -268,6 +267,8 @@ Get-EXOMailbox -ResultSize 10 -PropertySets All
268267
> [!NOTE]
269268
> We highly discourage using the _PropertySets_ parameter with the value `All` because it slows down the cmdlet and reduces reliability. Always use the _PropertySets_ and _Properties_ parameters to retrieve only the required properties.
270269
270+
For more information about filtering in the EXO V2 module, see [Filters in the Exchange Online V2 module](filters-v2.md).
271+
271272
## Release notes
272273

273274
### Current release: Version 1.0.1
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Filters in the V2 module
3+
ms.author: chrisda
4+
author: chrisda
5+
manager: dansimp
6+
ms.date:
7+
ms.audience: Admin
8+
ms.topic: article
9+
ms.service: exchange-online
10+
ms.reviewer: navgupta
11+
localization_priority: Priority
12+
ms.collection: Strat_EX_Admin
13+
ms.custom:
14+
ms.assetid:
15+
search.appverid: MET150
16+
description: "Learn about how to use filtering for cmdlets in the Exchange Online V2 module."
17+
---
18+
19+
# Filters in the Exchange Online V2 module
20+
21+
The Exchange Online PowerShell V2 module (abbreviated as the EXO V2 module) contains a few new cmdlets that are optimized for high speed, high volume operations, and (after you connect to your organization) gives you access to the hundreds of existing cmdlets in the service. For more information, see [Use the Exchange Online PowerShell V2 module](exchange-online-powershell-v2.md).
22+
23+
In order to get the most out of the EXO V2 module, you need to follow the guidance in this topic.
24+
25+
## Use client-side filtering for the best performance
26+
27+
Server-side filtering uses the available _Filter_ or _RecipientFilter_ parameters on a cmdlet. Client-side filtering uses the [Where-Object](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/where-object) cmdlet (also known as **where** or **?**).
28+
29+
Generally, you get much better performance with server-side filtering. However, for the EXO V2 module, you actually get better performance when using client-side filtering. We're working on improving the performance of server-side filtering in module.
30+
31+
## Supported and unsupported attributes
32+
33+
Although the EXO V2 module supports the majority of filterable attributes, the following attributes are currently not supported for filtering:
34+
35+
||||
36+
|---|---|---|
37+
|**Cmdlet**|**Attribute**|**LDAP Display Name**|
38+
|[Get-CASMailbox](https://docs.microsoft.com/powershell/module/exchange/get-casmailbox)|MemberOfGroup <br/><br/> ExternalDirectoryObjectId|memberOf <br/><br/> msExchExternalDirectoryObjectId|
39+
|[Get-Mailbox](https://docs.microsoft.com/powershell/module/exchange/get-mailbox)|DeletedItemFlags <br/><br/> ExternalDirectoryObjectId <br/><br/> LanguagesRaw <br/><br/> MasterAccountSid <br/><br/> MemberOfGroup <br/><br/> RequireAllSendersAreAuthenticated <br/><br/> SCLDeleteThresholdInt <br/><br/> SCLJunkThresholdInt <br/><br/> SCLQuarantineThresholdInt <br/><br/> SCLRejectThresholdInt|deletedItemFlags <br/><br/> msExchExternalDirectoryObjectId <br/><br/> msExchUserCulture <br/><br/> msExchMasterAccountSid <br/><br/> memberOf <br/><br/> msExchRequireAuthToSendTo <br/><br/> msExchMessageHygieneSCLDeleteThreshold <br/><br/> msExchMessageHygieneSCLJunkThreshold <br/><br/> msExchMessageHygieneSCLQuarantineThreshold <br/><br/> msExchMessageHygieneSCLRejectThreshold|
40+
|[Get-Recipient](https://docs.microsoft.com/powershell/module/exchange/get-recipient)|CountryCode <br/><br/> ExternalDirectoryObjectId <br/><br/> MasterAccountSid <br/><br/> MemberOfGroup <br/><br/> Members|countryCode <br/><br/> msExchExternalDirectoryObjectId <br/><br/> msExchMasterAccountSid <br/><br/> memberOf <br/><br/> member|
41+
|
42+
43+
## Supported and unsupported operators
44+
45+
The following operators are fully supported for all string formats in the EXO V2 module:
46+
47+
- -eq
48+
- -and
49+
- -ne
50+
- -or
51+
- -not
52+
- -lt
53+
- -gt
54+
55+
The -like and -notlike operators are limited in using wildcards (*). Specifically, you can only use wildcards at the beginning of a string value, at the end of a string value, or both.
56+
57+
For example, the following text search is not supported:
58+
59+
`"UPN -like 'A*B*C'`
60+
61+
However, the following searches are supported:
62+
63+
`"UPN -like 'A*' -and UPN -like '*C' -and UPN like '*B*'"`

exchange/docs-conceptual/toc.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
- name: Home
32
href: index.md
43
items:
@@ -46,8 +45,10 @@
4645
- name: Exchange Online PowerShell V2
4746
href: exchange-online/exchange-online-powershell-v2/exchange-online-powershell-v2.md
4847
items:
49-
- name: Property sets in cmdlets
48+
- name: Property sets in V2 cmdlets
5049
href: exchange-online/exchange-online-powershell-v2/cmdlet-property-sets.md
50+
- name: Filters in the V2 module
51+
href: exchange-online/exchange-online-powershell-v2/filters-v2.md
5152
- name: Office 365 Security & Compliance Center PowerShell
5253
href: office-365-scc/office-365-scc-powershell.md
5354
items:

exchange/exchange-ps/exchange/Connect-ExchangeOnline.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Connect-ExchangeOnline
3636
[-PageSize <UInt32>]
3737
[-Prefix <String>]
3838
[[-PSSessionOption] <PSSessionOption>]
39+
[ShowBanner]
3940
[-ShowProgress <Boolean>]
4041
[-TrackPerformance <Boolean>]
4142
[-UseMultithreading <Boolean>]
@@ -56,7 +57,7 @@ Connect-ExchangeOnline -Credential $UserCredential
5657

5758
The first command gets the user credentials and stores them in the $UserCredential variable.
5859

59-
The second command connects the current PowerShell session using the credentials in the $UserCredential, which isn't MFA enabled. Note that after the second command is complete, the password key in the $UserCredential variable becomes empty.
60+
The second command connects the current PowerShell session using the credentials in the $UserCredential, which isn't MFA enabled.
6061

6162
After the Connect-ExchangeOnline command is successful, you can run ExO V2 module cmdlets and older remote PowerShell cmdlets.
6263

@@ -284,6 +285,26 @@ Accept pipeline input: False
284285
Accept wildcard characters: False
285286
```
286287

288+
### -ShowBanner
289+
The ShowBanner switch shows or hides the banner message that's displayed when you run Connect-ExchangeOnline. You don't need to specify a value with this switch.
290+
291+
To show the banner, you don't need to use this switch (the banner is displayed by default).
292+
293+
To hide the banner, use this exact syntax: `-ShowBanner:$false`.
294+
295+
```yaml
296+
Type: SwitchParameter
297+
Parameter Sets: (All)
298+
Aliases:
299+
Applicable: Exchange Online
300+
301+
Required: False
302+
Position: Named
303+
Default value: $true
304+
Accept pipeline input: False
305+
Accept wildcard characters: False
306+
```
307+
287308
### -ShowProgress
288309
The ShowProgress parameter shows a visual progress bar in the PowerShell client module. The progress bar shows number of objects received and total number of objects requested. Valid values are:
289310

exchange/exchange-ps/exchange/Get-UnifiedGroup.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ The Identity parameter specifies the Office 365 Group that you want to view. You
149149

150150
- GUID
151151

152+
**Note**: You can use the DisplayName value to identify the Office 365 group, but the results aren't guaranteed to be unique. If you must return a singular and unique result, use a unique identifier for the Office 365 Group.
153+
152154
```yaml
153155
Type: UnifiedGroupIdParameter
154156
Parameter Sets: Identity

exchange/exchange-ps/exchange/Set-RemoteMailbox.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,9 +1406,11 @@ The Type parameter specifies the type for the mailbox in the service. Valid valu
14061406
14071407
Notes on the value Shared:
14081408
1409-
- Shared is available only in Exchange 2013 CU21 or later and Exchange 2016 CU10 or later. To use this value, you also need to run setup.exe /PrepareAD. For more information, see [KB4133605](https://support.microsoft.com/help/4133605/cmdlets-to-create-modify-remote-shared-mailbox-in-on-premises-exchange).
1409+
- Shared is available only in Exchange 2013 CU21 or later, Exchange 2016 CU10 or later, and Exchange 2019. In Exchange 2013 and Exchange 2016, you also need to run setup.exe /PrepareAD. For more information, see [KB4133605](https://support.microsoft.com/help/4133605/).
14101410
1411-
- You can only use Shared on a mailbox that was originally created in Exchange Online. If the mailbox was originally created in on-premises Exchange and then migrated to Exchange Online, take the action described in Step 3 in the Resolution section in [KB2710029](https://support.microsoft.com/help/2710029/shared-mailboxes-are-unexpectedly-converted-to-user-mailboxes-after-di).
1411+
- If you tried to convert a migrated remote mailbox to a shared remote mailbox, you would receive the following error: `remoteMailbox.RemoteRecipientType must include ProvisionMailbox`. This issue was fixed in Exchange 2016 CU14 and Exchange 2019 CU3, but not in Exchange 2013. For more information, see [KB4515271](https://support.microsoft.com/help/4515271/).
1412+
1413+
- If directory synchronization unexpectedly converts shared mailboxes in Exchange Online back into user mailboxes, or if you continue to receive the `remoteMailbox.RemoteRecipientType must include ProvisionMailbox` error when you use the value Shared, take the action described in Step 3 in the Resolution section in [KB2710029](https://support.microsoft.com/help/2710029/).
14121414

14131415
```yaml
14141416
Type: ConvertibleRemoteMailboxSubType

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSite.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ Get-SPOSite -Identity https://contoso.sharepoint.com/sites/groupname -detailed |
101101

102102
This example gets quota details for a Group Site.
103103

104+
### -----------------------EXAMPLE 6-----------------------------
105+
106+
```powershell
107+
Get-SPOSite -Identity https://contoso.sharepoint.com/sites/research | Select InformationSegment
108+
```
109+
110+
This example returns the InformationSegments associated to the site.
111+
104112
## PARAMETERS
105113

106114
### -Detailed
@@ -251,6 +259,21 @@ Accept pipeline input: False
251259
Accept wildcard characters: False
252260
```
253261

262+
### InformationSegment
263+
This parameter displays the segments associated with a site.
264+
265+
It is applicable for tenants who have enabled Microsoft 365 Information barriers capability. Please read https://docs.microsoft.com/sharepoint/information-barriers documentation to understand Information barriers in SharePoint Online.
266+
267+
**Note**: This parameter is available only in SharePoint Online Management Shell Version 16.0.19927.12000 or later.
268+
269+
```yaml
270+
Type: Collection of GUIDs
271+
Applicable: SharePoint Online
272+
Required: False
273+
Position: Named
274+
Default value: None
275+
```
276+
254277
### CommonParameters
255278

256279
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

skype/skype-ps/skype/Set-CsOnlineLisCivicAddress.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Accept wildcard characters: False
8585
```
8686
8787
### -CityAlias
88-
PARAMVALUE: String
88+
Short form of the city name.
8989
9090
```yaml
9191
Type: String
@@ -117,7 +117,7 @@ Accept wildcard characters: False
117117
```
118118
119119
### -CompanyTaxId
120-
PARAMVALUE: String
120+
Used to store TaxId for regulatory reasons.
121121
122122
```yaml
123123
Type: String
@@ -363,7 +363,7 @@ Accept wildcard characters: False
363363
```
364364
365365
### -ValidationStatus
366-
PARAMVALUE: String
366+
Microsoft internal use only
367367
368368
```yaml
369369
Type: String

0 commit comments

Comments
 (0)