Skip to content

Commit d108d42

Browse files
authored
Update New-SensitiveInformationScanRule.md
1 parent 0302ee5 commit d108d42

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,16 @@ 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+
New-SensitiveInformationScanRule "SharePoint scan rule" -ContentExtensionMatchesWords "pdf", "docx" -Policy "SharePoint scan" -Workload SharePoint
4647
```
4748

48-
{{ Add example description here }}
49+
Above example creates a scan for all sharepoint sites scoped to pdf and docx files only. This cmdlet should be used in combination with New-SensitiveInformationScan.
4950

5051
## PARAMETERS
5152

5253
### -Name
53-
{{ Fill Name Description }}
54+
Specify rule name for the scan
5455

5556
```yaml
5657
Type: String
@@ -66,7 +67,7 @@ Accept wildcard characters: False
6667
```
6768
6869
### -Policy
69-
{{ Fill Policy Description }}
70+
Scan policy name that is parent of this rule
7071
7172
```yaml
7273
Type: PolicyIdParameter
@@ -159,7 +160,7 @@ Accept wildcard characters: False
159160
```
160161

161162
### -ContentCreatedOrUpdatedDateFrom
162-
{{ Fill ContentCreatedOrUpdatedDateFrom Description }}
163+
If specified, files last modified after this date are considered in scope of scan.
163164

164165
```yaml
165166
Type: System.DateTime
@@ -175,7 +176,7 @@ Accept wildcard characters: False
175176
```
176177

177178
### -ContentCreatedOrUpdatedDateTo
178-
{{ Fill ContentCreatedOrUpdatedDateTo Description }}
179+
Files last modified before this date are considered in scope of scan.
179180

180181
```yaml
181182
Type: System.DateTime
@@ -259,7 +260,8 @@ Accept wildcard characters: False
259260
```
260261

261262
### -StartImpactAssessment
262-
{{ Fill StartImpactAssessment Description }}
263+
Set to true to start an scan estimation by default. This needs to be passed as false to prevent starting scan estimation by default.
264+
263265

264266
```yaml
265267
Type: Boolean

0 commit comments

Comments
 (0)