Skip to content

Commit 56f5196

Browse files
authored
Merge pull request #12892 from aamalhot/patch-18
Update New-SensitiveInformationScanRule.md
2 parents 6e0a8d6 + a0c599d commit 56f5196

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

exchange/exchange-ps/exchange/New-SensitiveInformationScanRule.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,17 @@ To use this cmdlet in Security & Compliance PowerShell, you need to be assigned
4242

4343
### Example 1
4444
```powershell
45-
{{ Add example code here }}
45+
New-SensitiveInformationScan "SharePoint scan" -SharePointLocation All
46+
47+
New-SensitiveInformationScanRule "SharePoint scan rule" -ContentExtensionMatchesWords "pdf", "docx" -Policy "SharePoint scan" -Workload SharePoint
4648
```
4749

48-
{{ Add example description here }}
50+
This example creates a scan for all SharePoint sites scoped to pdf and docx files only. Use the New-SensitiveInformationScanRule only in combination with New-SensitiveInformationScan.
4951

5052
## PARAMETERS
5153

5254
### -Name
53-
{{ Fill Name Description }}
55+
The Name parameter specifes the unique rule name for the scan. If the value contains spaces, enclose the value in quotation marks.
5456

5557
```yaml
5658
Type: String
@@ -66,7 +68,7 @@ Accept wildcard characters: False
6668
```
6769
6870
### -Policy
69-
{{ Fill Policy Description }}
71+
The Policy parameter specifies the name of the parent scan policy for this rule. If the value contains spaces, enclose the value in quotation marks.
7072
7173
```yaml
7274
Type: PolicyIdParameter
@@ -159,7 +161,7 @@ Accept wildcard characters: False
159161
```
160162

161163
### -ContentCreatedOrUpdatedDateFrom
162-
{{ Fill ContentCreatedOrUpdatedDateFrom Description }}
164+
The ContentCreatedOrUpdatedDateFrom prameter specifies the earliest modification date-time of files that are considered in scope of this scan.
163165

164166
```yaml
165167
Type: System.DateTime
@@ -175,7 +177,7 @@ Accept wildcard characters: False
175177
```
176178

177179
### -ContentCreatedOrUpdatedDateTo
178-
{{ Fill ContentCreatedOrUpdatedDateTo Description }}
180+
The ContentCreatedOrUpdatedDateTo prameter specifies the latest modification date-time of files that are considered in scope of this scan.
179181

180182
```yaml
181183
Type: System.DateTime
@@ -259,7 +261,10 @@ Accept wildcard characters: False
259261
```
260262

261263
### -StartImpactAssessment
262-
{{ Fill StartImpactAssessment Description }}
264+
The StartImpactAssessment parameter specifies whether to start a scan estimation. Valid values are:
265+
266+
- $true: Start an scan estimation by default.
267+
- $false: Prevent starting scan estimation by default.
263268

264269
```yaml
265270
Type: Boolean

0 commit comments

Comments
 (0)