Skip to content

Commit 0d4906d

Browse files
authored
Merge pull request #6649 from MicrosoftDocs/chrisda
Chrisda to Master
2 parents 1ad7a8e + 6af1ffa commit 0d4906d

File tree

8 files changed

+140
-186
lines changed

8 files changed

+140
-186
lines changed

exchange/docs-conceptual/disable-access-to-exchange-online-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ $<VariableName> | foreach {Set-User -Identity $_ -RemotePowerShellEnabled $false
6969
This example removes access to Exchange Online PowerShell for all users whose **Title** attribute contains the value "Sales Associate".
7070

7171
```powershell
72-
$DSA = Get-User -ResultSize unlimited -Filter "(RecipientType -eq 'UserMailbox') -and (Title -like '*Sales Associate*')"
72+
$DSA = Get-User -ResultSize unlimited -Filter "(RecipientType -eq 'UserMailbox') -and (Title -like 'Sales Associate*')"
7373
```
7474

7575
```powershell

exchange/docs-conceptual/filter-properties.md

Lines changed: 30 additions & 30 deletions
Large diffs are not rendered by default.

exchange/docs-conceptual/recipientfilter-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The recipient properties that have been *confirmed* to work with the _RecipientF
4040

4141
- You typically use the object's name for properties that require a valid object value (for example, a mailbox, a distribution group, or an email address policy, but the property might also accept the object's distinguished name (DN) or globally unique identifier (GUID). To find the object's DN or GUID, use the **Get-** cmdlet that corresponds to the object's type (for example, `Get-EmailAddressPolicy | Format-List Name,DistinguishedName,GUID`).
4242

43-
- Text string properties that accept wildcard characters require the `-like` operator (for example, `"Property -like '*abc'"`).
43+
- Text string properties that accept wildcard characters require the `-like` operator (for example, `"Property -like 'abc*'"`).
4444

4545
- The Value column in the table describes the acceptable values for the *filter*, not necessarily for the property itself. For example, a property might obviously contain a date or numeric value, but when you use that property in a filter, it might be treated like a text string (no value check, and wildcards are supported).
4646

exchange/exchange-ps/exchange/Get-TransportRule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Accept wildcard characters: False
150150
### -Filter
151151
The Filter parameter filters the results by using an OPath. This parameter searches the Description property, which includes the conditions, exceptions, actions and the associated values of a transport rule.
152152
153-
This parameter uses the syntax `"Description -like '*Text*'"`. For example, `"Description -like *192.168.1.1*'"`.
153+
This parameter uses the syntax `"Description -like 'Text*'"`. For example, `"Description -like '192.168.1.1*'"`.
154154
155155
For detailed information about OPath filters in Exchange, see [Additional OPATH syntax information](https://docs.microsoft.com/powershell/exchange/recipient-filters#additional-opath-syntax-information).
156156

exchange/exchange-ps/exchange/Get-User.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ This example retrieves information about users in the Marketing OU.
8888

8989
### Example 4
9090
```powershell
91-
Get-User -Filter "Title -like '*Manager'"
91+
Get-User -Filter "Title -like 'Manager*'"
9292
```
9393

9494
This example uses the Filter parameter to retrieve information about all users that have the word Manager at the end of their title.

exchange/exchange-ps/exchange/New-AddressList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ This example creates the address list MyAddressList2 that includes mailboxes tha
9393

9494
### Example 3
9595
```powershell
96-
New-AddressList -Name "AL_AgencyB" -RecipientFilter "((RecipientType -eq 'UserMailbox') -and (CustomAttribute15 -like '*AgencyB*'))"
96+
New-AddressList -Name "AL_AgencyB" -RecipientFilter "((RecipientType -eq 'UserMailbox') -and (CustomAttribute15 -like 'AgencyB*'))"
9797
```
9898

9999
This example creates the address list AL\_AgencyB that includes mailboxes that have the value of the CustomAttribute15 parameter contains AgencyB.

exchange/exchange-ps/exchange/New-ManagementScope.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ This example creates the Executive Mailboxes scope. Only mailboxes located withi
103103

104104
### Example 4
105105
```powershell
106-
New-ManagementScope -Name "Protected Exec Users" -RecipientRestrictionFilter "Title -like '*VP*'" -Exclusive; New-ManagementRoleAssignment -SecurityGroup "Executive Administrators" -Role "Mail Recipients" -CustomRecipientWriteScope "Protected Exec Users"
106+
New-ManagementScope -Name "Protected Exec Users" -RecipientRestrictionFilter "Title -like 'VP*'" -Exclusive; New-ManagementRoleAssignment -SecurityGroup "Executive Administrators" -Role "Mail Recipients" -CustomRecipientWriteScope "Protected Exec Users"
107107
```
108108

109109
This example creates the Protected Exec Users exclusive scope. Users that contain the string "VP" in their title match the recipient filter for the scope. When the exclusive scope is created, all users are immediately blocked from modifying the recipients that match the exclusive scope until the scope is associated with a management role assignment. If other role assignments are associated with other exclusive scopes that match the same recipients, those assignments can still modify the recipients.

exchange/exchange-ps/exchange/Set-CASMailbox.md

Lines changed: 104 additions & 150 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)