Skip to content

Commit 06a2101

Browse files
Merge branch 'main' into blackquack-patch-1
2 parents c906c3c + 24f70da commit 06a2101

File tree

51 files changed

+2412
-191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+2412
-191
lines changed

exchange/exchange-ps/exchange/Add-VivaModuleFeaturePolicy.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,35 +109,35 @@ This example adds a policy for the Reflection feature in Viva Insights. The poli
109109
Add-VivaModuleFeaturePolicy -CategoryId <category_id> -Name DisableCategoryForAll -IsCategoryEnabled $false -Everyone
110110
```
111111

112-
This example adds a policy for the `<cateogry_id>` category in Viva. The policy disables the category (effectively all features under the category) for all users in the organization.
112+
This example adds a policy for the `<category_id>` category in Viva. The policy disables the category (effectively all features under the category) for all users in the organization.
113113

114114
### Example 6
115115
```powershell
116116
Add-VivaModuleFeaturePolicy -CategoryId <category_id> -Name MultipleGroups -IsCategoryEnabled $false -GroupIds [email protected],[email protected],57680382-61a5-4378-85ad-f72095d4e9c3
117117
```
118118

119-
This example adds a policy for the `<cateogry_id>` category in Viva. The policy disables the category (effectively all features under the category) for all users in the specified groups.
119+
This example adds a policy for the `<category_id>` category in Viva. The policy disables the category (effectively all features under the category) for all users in the specified groups.
120120

121121
### Example 7
122122
```powershell
123123
Add-VivaModuleFeaturePolicy -CategoryId <category_id> -Name MultipleUsers -IsCategoryEnabled $false -UserIds [email protected],[email protected]
124124
```
125125

126-
This example adds a policy for the `<cateogry_id>` category in Viva. The policy disables the category (effectively all features under the category) for the specified users.
126+
This example adds a policy for the `<category_id>` category in Viva. The policy disables the category (effectively all features under the category) for the specified users.
127127

128128
### Example 8
129129
```powershell
130130
Add-VivaModuleFeaturePolicy -CategoryId <category_id> -Name UsersAndGroups -IsCategoryEnabled $false -GroupIds [email protected],[email protected],57680382-61a5-4378-85ad-f72095d4e9c3 -UserIds [email protected],[email protected]
131131
```
132132

133-
This example adds a policy for the `<cateogry_id>` category in Viva. The policy disables the category (effectively all features under the category) for the specified users and group members.
133+
This example adds a policy for the `<category_id>` category in Viva. The policy disables the category (effectively all features under the category) for the specified users and group members.
134134

135135
### Example 9
136136
```powershell
137137
Add-VivaModuleFeaturePolicy -CategoryId <category_id> -Name "Disable Category For All" -IsCategoryEnabled $false -Everyone
138138
```
139139

140-
This example adds a policy for the `<cateogry_id>` category in Viva where the policy name is with spaces. The policy disables the category (effectively all features under the category) for all users in the organization.
140+
This example adds a policy for the `<category_id>` category in Viva where the policy name is with spaces. The policy disables the category (effectively all features under the category) for all users in the organization.
141141

142142
## PARAMETERS
143143

exchange/exchange-ps/exchange/Export-ContentExplorerData.md

Lines changed: 57 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@ For information about the parameter sets in the Syntax section below, see [Excha
2323
## SYNTAX
2424

2525
```
26-
Export-ContentExplorerData
26+
Export-ContentExplorerData [-TagName] <String> [-TagType] <String>
27+
[-Aggregate]
2728
[[-PageCookie] <String>]
2829
[[-PageSize] <Int32>]
2930
[[-SiteUrl] <String>]
3031
[[-UserPrincipalName] <String>]
31-
[-TagName] <String>
32-
[-TagType] <String>
3332
[[-Workload] <String>]
3433
[<CommonParameters>]
3534
```
@@ -42,6 +41,14 @@ The output of this cmdlet contains the following information:
4241
- RecordsReturned: The number of records returned in the query.
4342
- PageCookie: Used to get the next set of records when MorePagesAvailable is True.
4443

44+
The following list describes best practices for scripts using this cmdlet:
45+
46+
- We recommend not using a single script to export multiple SITs/Labels. Instead, create a script for one SIT/Label, and then re-use the same script for each SIT/Label in each workload as required.
47+
- When retrying the script, make sure to reconnect to the session first. The session's token expires after about an hour, which can cause the cmdlet to fail. To fix this issue, reconnect to the session before retrying the script. If the script fails, restart it using the last page cookie returned to continue the export from where it left off.
48+
49+
> [!TIP]
50+
> To support unattended scripts that run for a long time, you can use [certificate-based authentication (CBA)](https://learn.microsoft.com/powershell/exchange/app-only-auth-powershell-v2).
51+
4552
To use this cmdlet in Security & Compliance PowerShell, you need to be assigned permissions. For more information, see [Permissions in the Microsoft Purview compliance portal](https://learn.microsoft.com/purview/microsoft-365-compliance-center-permissions).
4653

4754
## EXAMPLES
@@ -69,6 +76,51 @@ This example exports records for the specified sensitive info type for all workl
6976

7077
## PARAMETERS
7178

79+
### -TagType
80+
The TagType parameter specifies the type of label to export file details from. Valid values are:
81+
82+
- Retention
83+
- SensitiveInformationType
84+
- Sensitivity
85+
- TrainableClassifier
86+
87+
```yaml
88+
Type: String
89+
Parameter Sets: (All)
90+
Aliases:
91+
Applicable: Security & Compliance
92+
93+
Required: True
94+
Position: 5
95+
Default value: None
96+
Accept pipeline input: False
97+
Accept wildcard characters: False
98+
```
99+
100+
### -Aggregate
101+
The Aggregate parameter switch returns the folder level aggregated numbers instead of returning details at the item level. You don't need to specify a value with this switch.
102+
103+
Using this switch significantly reduces the export time. To download the items in a folder, run this cmdlet for specific folders.
104+
105+
When you use this switch with the TagName, TagType and Workload parameters, the command returns the following information:
106+
107+
- SiteUlrs: OneDrive and SharePoint.
108+
- UPNs: Exchange Online and Teams.
109+
- The count of items stamped with that tag.
110+
111+
```yaml
112+
Type: SwitchParameter
113+
Parameter Sets: (All)
114+
Aliases:
115+
Applicable: Security & Compliance
116+
117+
Required: False
118+
Position: Named
119+
Default value: False
120+
Accept pipeline input: False
121+
Accept wildcard characters: False
122+
```
123+
72124
### -PageCookie
73125
The PageCookie parameter specifies whether to get more data when the value of the MorePagesAvailable property in the command output is True. If you don't use the PageSize parameter, a maximum of 100 records are returned. If you use the PageSize parameter, a maximum of 10000 records can be returned.
74126
@@ -88,6 +140,8 @@ Accept wildcard characters: False
88140
### -PageSize
89141
The PageSize parameter specifies the maximum number of records to return in a single query. Valid input for this parameter is an integer between 1 and 10000. The default value is 100.
90142
143+
**Note**: In empty folders or folders with few files, this parameter can cause the command to run for a long time as it tries to get the PageSize count of the results. To prevent this issue, the command returns data from 5 folders or the number of records specified by the PageSize parameter, whichever completes first. For example, if there are 10 folders with 1 record each, the command returns 5 records of the top 5 folders. In the next execution using page cookie, it returns 5 records from the remaining 5 folders, even if the PageSize value is 10.
144+
91145
```yaml
92146
Type: Int32
93147
Parameter Sets: (All)
@@ -135,27 +189,6 @@ Accept pipeline input: False
135189
Accept wildcard characters: False
136190
```
137191
138-
### -TagType
139-
The TagType parameter specifies the type of label to export file details from. Valid values are:
140-
141-
- Retention
142-
- SensitiveInformationType
143-
- Sensitivity
144-
- TrainableClassifier
145-
146-
```yaml
147-
Type: String
148-
Parameter Sets: (All)
149-
Aliases:
150-
Applicable: Security & Compliance
151-
152-
Required: True
153-
Position: 5
154-
Default value: None
155-
Accept pipeline input: False
156-
Accept wildcard characters: False
157-
```
158-
159192
### -UserPrincipalName
160193
The UserPrincipalName parameter specifies the user account in UPN format to export message details from. An example UPN value is [email protected].
161194

exchange/exchange-ps/exchange/Get-ComplianceTag.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ For information about the parameter sets in the Syntax section below, see [Excha
2323
```
2424
Get-ComplianceTag [[-Identity] <ComplianceRuleIdParameter>]
2525
[-IncludingLabelState]
26+
[-PriorityCleanup]
2627
[<CommonParameters>]
2728
```
2829

@@ -83,6 +84,22 @@ Accept pipeline input: False
8384
Accept wildcard characters: False
8485
```
8586
87+
### -PriorityCleanup
88+
{{ Fill PriorityCleanup Description }}
89+
90+
```yaml
91+
Type: SwitchParameter
92+
Parameter Sets: (All)
93+
Aliases:
94+
Applicable: Security & Compliance
95+
96+
Required: False
97+
Position: Named
98+
Default value: None
99+
Accept pipeline input: False
100+
Accept wildcard characters: False
101+
```
102+
86103
### CommonParameters
87104
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/p/?LinkID=113216).
88105

exchange/exchange-ps/exchange/Get-DlpCompliancePolicy.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ For information about the parameter sets in the Syntax section below, see [Excha
2222

2323
```
2424
Get-DlpCompliancePolicy [[-Identity] <PolicyIdParameter>]
25+
[-DisplayName <String>]
2526
[-DistributionDetail]
2627
[-ForceValidate <Boolean>]
2728
[-IncludeExtendedProperties <Boolean>]
@@ -88,6 +89,22 @@ Accept pipeline input: True
8889
Accept wildcard characters: False
8990
```
9091
92+
### -DisplayName
93+
{{ Fill DisplayName Description }}
94+
95+
```yaml
96+
Type: String
97+
Parameter Sets: (All)
98+
Aliases:
99+
Applicable: Security & Compliance
100+
101+
Required: False
102+
Position: Named
103+
Default value: None
104+
Accept pipeline input: False
105+
Accept wildcard characters: False
106+
```
107+
91108
### -DistributionDetail
92109
The DistributionDetail switch returns detailed policy distribution information in the DistributionResults property. You don't need to specify a value with this switch.
93110

exchange/exchange-ps/exchange/Get-DlpComplianceRule.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ For information about the parameter sets in the Syntax section below, see [Excha
2222

2323
```
2424
Get-DlpComplianceRule [[-Identity] <ComplianceRuleIdParameter>]
25+
[-DisplayName <String>]
2526
[-IncludeExecutionRuleGuids <Boolean>]
2627
[-Policy <PolicyIdParameter>]
2728
[<CommonParameters>]
@@ -76,6 +77,22 @@ Accept pipeline input: True
7677
Accept wildcard characters: False
7778
```
7879
80+
### -DisplayName
81+
{{ Fill DisplayName Description }}
82+
83+
```yaml
84+
Type: String
85+
Parameter Sets: (All)
86+
Aliases:
87+
Applicable: Security & Compliance
88+
89+
Required: False
90+
Position: Named
91+
Default value: None
92+
Accept pipeline input: False
93+
Accept wildcard characters: False
94+
```
95+
7996
### -IncludeExecutionRuleGuids
8097
{{ Fill IncludeExecutionRuleGuids Description }}
8198

exchange/exchange-ps/exchange/Get-PendingDelicenseUser.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: Microsoft.Exchange.RolesAndAccess-Help.xml
33
online version: https://learn.microsoft.com/powershell/module/exchange/get-pendingdelicenseuser
4-
applicable: Exchange Online
4+
applicable: Exchange Online, Exchange Online Protection
55
title: Get-PendingDelicenseUser
66
schema: 2.0.0
77
author: chrisda
@@ -80,7 +80,7 @@ You can't use this parameter with the ShowDueObjectsOnly switch.
8080
Type: RecipientIdParameter
8181
Parameter Sets: Identity
8282
Aliases:
83-
Applicable: Exchange Online
83+
Applicable: Exchange Online, Exchange Online Protection
8484

8585
Required: False
8686
Position: 1
@@ -96,7 +96,7 @@ The ResultSize parameter specifies the maximum number of results to return. If y
9696
Type: Unlimited
9797
Parameter Sets: TenantLevelParameterSet
9898
Aliases:
99-
Applicable: Exchange Online
99+
Applicable: Exchange Online, Exchange Online Protection
100100

101101
Required: False
102102
Position: Named
@@ -114,7 +114,7 @@ You can't use this switch with the Identity parameter.
114114
Type: SwitchParameter
115115
Parameter Sets: TenantLevelParameterSet
116116
Aliases:
117-
Applicable: Exchange Online
117+
Applicable: Exchange Online, Exchange Online Protection
118118

119119
Required: False
120120
Position: Named

exchange/exchange-ps/exchange/Get-RetentionCompliancePolicy.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Get-RetentionCompliancePolicy [[-Identity] <PolicyIdParameter>]
2626
[-ErrorPolicyOnly]
2727
[-ExcludeTeamsPolicy]
2828
[-IncludeTestModeResults]
29+
[-PriorityCleanup]
2930
[-RetentionRuleTypes]
3031
[-TeamsPolicyOnly]
3132
[<CommonParameters>]
@@ -147,6 +148,22 @@ Accept pipeline input: False
147148
Accept wildcard characters: False
148149
```
149150
151+
### -PriorityCleanup
152+
{{ Fill PriorityCleanup Description }}
153+
154+
```yaml
155+
Type: SwitchParameter
156+
Parameter Sets: (All)
157+
Aliases:
158+
Applicable: Security & Compliance
159+
160+
Required: False
161+
Position: Named
162+
Default value: None
163+
Accept pipeline input: False
164+
Accept wildcard characters: False
165+
```
166+
150167
### -RetentionRuleTypes
151168
The RetentionRuleTypes switch specifies whether to return the value of the RetentionRuleTypes property in the results. You don't need to specify a value with this switch.
152169

exchange/exchange-ps/exchange/Get-RetentionComplianceRule.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ For information about the parameter sets in the Syntax section below, see [Excha
2323
```
2424
Get-RetentionComplianceRule [[-Identity] <ComplianceRuleIdParameter>]
2525
[-Policy <PolicyIdParameter>]
26+
[-PriorityCleanup]
2627
[<CommonParameters>]
2728
```
2829

@@ -96,6 +97,22 @@ Accept pipeline input: False
9697
Accept wildcard characters: False
9798
```
9899
100+
### -PriorityCleanup
101+
{{ Fill PriorityCleanup Description }}
102+
103+
```yaml
104+
Type: SwitchParameter
105+
Parameter Sets: (All)
106+
Aliases:
107+
Applicable: Security & Compliance
108+
109+
Required: False
110+
Position: Named
111+
Default value: None
112+
Accept pipeline input: False
113+
Accept wildcard characters: False
114+
```
115+
99116
### CommonParameters
100117
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/p/?LinkID=113216).
101118

0 commit comments

Comments
 (0)