Skip to content

Commit fda400f

Browse files
authored
Update New-OrganizationSegment.md
updated Example 3 as it was missing - before and parameter in filter which is required when multiple filters are added.
1 parent 35bc76a commit fda400f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exchange/exchange-ps/exchange/policy-and-compliance/New-OrganizationSegment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ In this example, we defined a segment called NotSales that includes everyone who
5050

5151
### Example 3
5252
```powershell
53-
New-OrganizationSegment -Name "LocalFTE" -UserGroupFilter "Location -eq 'Local'" and "Position -ne 'Temporary'"
53+
New-OrganizationSegment -Name "LocalFTE" -UserGroupFilter "Location -eq 'Local'" -and "Position -ne 'Temporary'"
5454
```
5555

5656
In this example, we defined a segment called LocalFTE that includes people who are locally located and whose positions are not listed as Temporary.

0 commit comments

Comments
 (0)