Skip to content

Commit a086f33

Browse files
authored
Merge pull request #12891 from aamalhot/patch-17
Update New-SensitiveInformationScan.md
2 parents 0302ee5 + fa589e6 commit a086f33

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

exchange/exchange-ps/exchange/New-SensitiveInformationScan.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,12 @@ To use this cmdlet in Security & Compliance PowerShell, you need to be assigned
5353

5454
### Example 1
5555
```powershell
56-
{{ Add example code here }}
56+
New-SensitiveInformationScan "SharePoint scan" -SharePointLocation All
57+
58+
New-SensitiveInformationScanRule "SharePoint scan rule" -ContentExtensionMatchesWords "pdf", "docx" -Policy "SharePoint scan" -Workload SharePoint
5759
```
5860

59-
{{ Add example description here }}
61+
This example creates a scan for all SharePoint sites scoped to pdf and docx files only.
6062

6163
## PARAMETERS
6264

0 commit comments

Comments
 (0)