From e08003b3d3d34373a8d810ccc14989f034a80a1a Mon Sep 17 00:00:00 2001 From: Aakash Malhotra <53205984+aamalhot@users.noreply.github.com> Date: Tue, 23 Sep 2025 15:07:24 +0530 Subject: [PATCH 1/2] Enhance documentation for Get-SensitiveInformationScanRule Updated example code and descriptions for Get-SensitiveInformationScanRule. --- .../ExchangePowerShell/Get-SensitiveInformationScanRule.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exchange/exchange-ps/ExchangePowerShell/Get-SensitiveInformationScanRule.md b/exchange/exchange-ps/ExchangePowerShell/Get-SensitiveInformationScanRule.md index 06439b0c27..42e046cee9 100644 --- a/exchange/exchange-ps/ExchangePowerShell/Get-SensitiveInformationScanRule.md +++ b/exchange/exchange-ps/ExchangePowerShell/Get-SensitiveInformationScanRule.md @@ -32,10 +32,10 @@ To use this cmdlet in Security & Compliance PowerShell, you need to be assigned ### Example 1 ```powershell -{{ Add example code here }} +Get-SensitiveInformationScanRule -Identity "HR Department Scan Rule" ``` -{{ Add example description here }} +This example returns details of scan rule such as classifiers selected, file extensions in scope etc. ## PARAMETERS @@ -65,7 +65,7 @@ Accept wildcard characters: False > Applicable: Security & Compliance -{{ Fill Policy Description }} +This parameter specifies the On-demand classification scan for which this rule is created. ```yaml Type: PolicyIdParameter From 33318aa4547daae7cd6730f134a3b4727ec486c6 Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Tue, 23 Sep 2025 08:48:34 -0700 Subject: [PATCH 2/2] Update documentation for Get-SensitiveInformationScanRule Clarified example description and parameter explanations. --- .../Get-SensitiveInformationScanRule.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/exchange/exchange-ps/ExchangePowerShell/Get-SensitiveInformationScanRule.md b/exchange/exchange-ps/ExchangePowerShell/Get-SensitiveInformationScanRule.md index 42e046cee9..896b505574 100644 --- a/exchange/exchange-ps/ExchangePowerShell/Get-SensitiveInformationScanRule.md +++ b/exchange/exchange-ps/ExchangePowerShell/Get-SensitiveInformationScanRule.md @@ -35,7 +35,7 @@ To use this cmdlet in Security & Compliance PowerShell, you need to be assigned Get-SensitiveInformationScanRule -Identity "HR Department Scan Rule" ``` -This example returns details of scan rule such as classifiers selected, file extensions in scope etc. +This example returns details of the specified scan rule. For example, classifiers selected and file extensions in scope. ## PARAMETERS @@ -65,7 +65,13 @@ Accept wildcard characters: False > Applicable: Security & Compliance -This parameter specifies the On-demand classification scan for which this rule is created. +The Policy parameter specifies the On-demand classification scan for which this rule is created. + +You can use any value that uniquely identifies the On-demand classification scan. For example: + +- Name +- Distinguished name (DN) +- GUID ```yaml Type: PolicyIdParameter