Skip to content

Commit 55786be

Browse files
authored
Update New-SensitiveInformationScan.md
1 parent 0302ee5 commit 55786be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ 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+
New-SensitiveInformationScanRule "SharePoint scan rule" -ContentExtensionMatchesWords "pdf", "docx" -Policy "SharePoint scan" -Workload SharePoint
5758
```
5859

59-
{{ Add example description here }}
60+
Above example creates a scan for all sharepoint sites scoped to pdf and docx files only.
6061

6162
## PARAMETERS
6263

0 commit comments

Comments
 (0)