Skip to content
22 changes: 4 additions & 18 deletions exchange/docs-conceptual/exchange-online-powershell-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,11 @@ You can download the EXO V2 module from the PowerShell gallery [here](https://ww
- You can use the following versions of Windows:

- Windows 10

- Windows 8.1

- Windows Server 2019

- Windows Server 2016

- Windows Server 2012 or Windows Server 2012 R2

- Windows 7 Service Pack 1 (SP1)<sup>*</sup>

- Windows Server 2008 R2 SP1<sup>*</sup>

<sup>\*</sup> This version of windows has reached end of support, and is now only supported when running in Azure virtual machines. To use this version of Windows, you need to install the Microsoft .NET Framework 4.5 or later and then the Windows Management Framework 5.1. For more information, see [Windows Management Framework 5.1](https://aka.ms/wmf5download).
Expand Down Expand Up @@ -241,9 +235,9 @@ Get-EXOCASMailbox -Properties EwsEnabled, MAPIBlockOutlookNonCachedMode -Propert

We've also included a Minimum property set (or *minset*) in the available property sets that includes a bare minimum set of properties for the cmdlet output.

- If you don't use the *PropertySets* or *Properties* parameters, you automatically get the properties that are included in the Minimum property set.
- If you don't use the *PropertySets* or *Properties* parameters, you automatically get the properties in the Minimum property set.

- If you use the *PropertySets* or *Properties* parameters, you you only get the specified properties.
- If you use the *PropertySets* or *Properties* parameters, you get the specified properties **and** the properties in the Minimum property set.

Either way, the cmdlet output will contain far fewer properties, and the time it takes to return those results will be much faster.

Expand All @@ -257,16 +251,8 @@ In contrast, the same **Get-Mailbox** cmdlet would return at least 230 propertie

For details about the property sets that are available in EXO V2 module cmdlets, see [Property sets in Exchange Online PowerShell V2 cmdlets](cmdlet-property-sets.md) or the individual EXO V2 module cmdlet reference topics.

EXO cmdlets also provide a way to retrieve all properties for an object by using the _ProperySets_ parameter with the value `All`.

The following example returns all properties for the 10 mailboxes:

```PowerShell
Get-EXOMailbox -ResultSize 10 -PropertySets All
```

> [!NOTE]
> 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.
> Although you can retrieve all properties for an object by using the _PropertySets_ parameter with the value All, we highly discourage this because it slows down the cmdlet and reduces reliability. Always use the _PropertySets_ and _Properties_ parameters to retrieve the minimum number of properties.

For more information about filtering in the EXO V2 module, see [Filters in the Exchange Online V2 module](filters-v2.md).

Expand Down Expand Up @@ -325,7 +311,7 @@ For more information about filtering in the EXO V2 module, see [Filters in the E

- Use EXO V2 cmdlets even if WinRM Basic Auth is disabled on client machine. Note that remote PowerShell cmdlets require WinRM Basic Auth, and they won't be available if it's disabled.

- Identity parameter for V2 cmdlets now supports Name and Alias as well. Note that using Alias or Name slows down the performance of V2 cmdlets, so we don't recommend using them.
- Identity parameter for V2 cmdlets now supports Name and Alias as well. Note that using Alias or Name slows down the performance of V2 cmdlets, so we don't recommend using them.

- Fixed issue where the data type of attributes returned by V2 cmdlet was different from remote PowerShell cmdlets. We still have few attributes which have differing data types, and we plan to handle them in coming months.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Accept wildcard characters: False
```

### -Direction
The Direction parameter filters the results by incoming or outgoing messages. Valid values for this parameter are Inbound and Outbound.
The Direction parameter filters the results by incoming or outgoing messages. Valid values are Inbound and Outbound.

```yaml
Type: MultiValuedProperty
Expand Down Expand Up @@ -183,7 +183,7 @@ Accept wildcard characters: False
```

### -EventType
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget EventTypes. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget EventTypes`. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.

You can specify multiple values separated by commas.

Expand Down
3 changes: 1 addition & 2 deletions exchange/exchange-ps/exchange/Get-CASMailbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ This cmdlet is available in on-premises Exchange and in the cloud-based service.

Use the Get-CASMailbox cmdlet to view the Client Access settings that are configured on mailboxes.

> [!NOTE]
> In Exchange Online PowerShell, we recommend that you use the Get-EXOCASMailbox cmdlet instead of this cmdlet. For more information, see [Use the Exchange Online PowerShell V2 module](https://docs.microsoft.com/powershell/exchange/exchange-online-powershell-v2).
**Note**: In Exchange Online PowerShell, we recommend that you use the Get-EXOCASMailbox cmdlet instead of this cmdlet. For more information, see [Use the Exchange Online PowerShell V2 module](https://docs.microsoft.com/powershell/exchange/exchange-online-powershell-v2).

For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).

Expand Down
2 changes: 1 addition & 1 deletion exchange/exchange-ps/exchange/Get-MailDetailATPReport.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This example returns the Advanced Threat Protection actions for the last 10 days
## PARAMETERS

### -Direction
The Direction parameter filters the results by incoming or outgoing messages. Valid values for this parameter are Inbound and Outbound.
The Direction parameter filters the results by incoming or outgoing messages. Valid values are Inbound and Outbound.

```yaml
Type: MultiValuedProperty
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This example retrieves the details of messages sent by john@contoso.com that mat
## PARAMETERS

### -Action
The Action parameter filters the report by the action taken by DLP policies, transport rules, malware filtering, or spam filtering. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget Actions. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.
The Action parameter filters the report by the action taken on messages. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget Actions`. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.

You can specify multiple values separated by commas.

Expand All @@ -65,7 +65,7 @@ Accept wildcard characters: False
```

### -Direction
The Direction parameter filters the results by incoming or outgoing messages. Valid values for this parameter are Inbound and Outbound.
The Direction parameter filters the results by incoming or outgoing messages. Valid values are Inbound and Outbound.

```yaml
Type: MultiValuedProperty
Expand Down Expand Up @@ -131,7 +131,7 @@ Accept wildcard characters: False
```

### -EventType
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget EventTypes. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget EventTypes`. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.

You can specify multiple values separated by commas.

Expand Down
6 changes: 3 additions & 3 deletions exchange/exchange-ps/exchange/Get-MailDetailMalwareReport.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This example retrieves the details of messages sent by john@contoso.com that con
## PARAMETERS

### -Action
The Action parameter filters the report by the action taken by DLP policies, transport rules, malware filtering, or spam filtering. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget Actions. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.
The Action parameter filters the report by the action taken on messages. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget Actions`. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.

You can specify multiple values separated by commas.

Expand All @@ -65,7 +65,7 @@ Accept wildcard characters: False
```

### -Direction
The Direction parameter filters the results by incoming or outgoing messages. Valid values for this parameter are Inbound and Outbound.
The Direction parameter filters the results by incoming or outgoing messages. Valid values are Inbound and Outbound.

```yaml
Type: MultiValuedProperty
Expand Down Expand Up @@ -115,7 +115,7 @@ Accept wildcard characters: False
```

### -EventType
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget EventTypes. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget EventTypes`. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.

You can specify multiple values separated by commas.

Expand Down
6 changes: 3 additions & 3 deletions exchange/exchange-ps/exchange/Get-MailDetailSpamReport.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This example retrieves the details of spam messages sent by john@contoso.com bet
## PARAMETERS

### -Action
The Action parameter filters the report by the action taken by DLP policies, transport rules, malware filtering, or spam filtering. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget Actions. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.
The Action parameter filters the report by the action taken on messages. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget Actions`. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.

You can specify multiple values separated by commas.

Expand All @@ -64,7 +64,7 @@ Accept wildcard characters: False
```

### -Direction
The Direction parameter filters the results by incoming or outgoing messages. Valid values for this parameter are Inbound and Outbound.
The Direction parameter filters the results by incoming or outgoing messages. Valid values are Inbound and Outbound.

```yaml
Type: MultiValuedProperty
Expand Down Expand Up @@ -114,7 +114,7 @@ Accept wildcard characters: False
```

### -EventType
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget EventTypes. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget EventTypes`. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.

You can specify multiple values separated by commas.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This example retrieves the details of messages sent by john@contoso.com that mat
## PARAMETERS

### -Action
The Action parameter filters the report by the action taken by DLP policies, transport rules, malware filtering, or spam filtering. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget Actions. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.
The Action parameter filters the report by the action taken on messages. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget Actions`. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.

You can specify multiple values separated by commas.

Expand All @@ -65,7 +65,7 @@ Accept wildcard characters: False
```

### -Direction
The Direction parameter filters the results by incoming or outgoing messages. Valid values for this parameter are Inbound and Outbound.
The Direction parameter filters the results by incoming or outgoing messages. Valid values are Inbound and Outbound.

```yaml
Type: MultiValuedProperty
Expand Down Expand Up @@ -115,7 +115,7 @@ Accept wildcard characters: False
```

### -EventType
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget EventTypes. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget EventTypes`. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.

You can specify multiple values separated by commas.

Expand Down
4 changes: 2 additions & 2 deletions exchange/exchange-ps/exchange/Get-MailTrafficATPReport.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ This example is similar to the previous example, but now the results are summari
## PARAMETERS

### -Action
The Action parameter filters the report by the action taken by DLP policies, transport rules, malware filtering, or spam filtering. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget Actions. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.
The Action parameter filters the report by the action taken on messages. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget Actions`. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.

You can specify multiple values separated by commas.

Expand Down Expand Up @@ -122,7 +122,7 @@ Accept wildcard characters: False
```

### -Direction
The Direction parameter filters the results by incoming or outgoing messages. Valid values for this parameter are Inbound and Outbound.
The Direction parameter filters the results by incoming or outgoing messages. Valid values are Inbound and Outbound.

```yaml
Type: MultiValuedProperty
Expand Down
6 changes: 3 additions & 3 deletions exchange/exchange-ps/exchange/Get-MailTrafficPolicyReport.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ This example is similar to the previous example, but now the results are summari
## PARAMETERS

### -Action
The Action parameter filters the report by the action taken by DLP policies, transport rules, malware filtering, or spam filtering. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget Actions. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.
The Action parameter filters the report by the action taken on messages. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget Actions`. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.

You can specify multiple values separated by commas.

Expand Down Expand Up @@ -104,7 +104,7 @@ Accept wildcard characters: False
```

### -Direction
The Direction parameter filters the results by incoming or outgoing messages. Valid values for this parameter are Inbound and Outbound.
The Direction parameter filters the results by incoming or outgoing messages. Valid values are Inbound and Outbound.

```yaml
Type: MultiValuedProperty
Expand Down Expand Up @@ -170,7 +170,7 @@ Accept wildcard characters: False
```

### -EventType
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget EventTypes. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget EventTypes`. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.

You can specify multiple values separated by commas.

Expand Down
6 changes: 3 additions & 3 deletions exchange/exchange-ps/exchange/Get-MailTrafficReport.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ This example is similar to the previous example, but now the results are summari
## PARAMETERS

### -Action
The Action parameter filters the report by the action taken by DLP policies, transport rules, malware filtering, or spam filtering. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget Actions. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.
The Action parameter filters the report by the action taken on messages. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget Actions`. The action you specify must correspond to the report type. For example, you can only specify malware filter actions for malware reports.

You can specify multiple values separated by commas.

Expand Down Expand Up @@ -191,7 +191,7 @@ Accept wildcard characters: False
```

### -Direction
The Direction parameter filters the results by incoming or outgoing messages. Valid values for this parameter are Inbound and Outbound.
The Direction parameter filters the results by incoming or outgoing messages. Valid values are Inbound and Outbound.

```yaml
Type: MultiValuedProperty
Expand Down Expand Up @@ -249,7 +249,7 @@ Accept wildcard characters: False
```

### -EventType
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command Get-MailFilterListReport -SelectionTarget EventTypes. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget EventTypes`. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.

You can specify multiple values separated by commas.

Expand Down
Loading