Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
f1e7456
Create
chrisda Jun 9, 2025
39ecba0
Merge branch 'main' into SIS-chrisda
chrisda Jun 9, 2025
750ed09
Copied param descriptions
chrisda Jun 10, 2025
17a1f2a
Update New-SensitiveInformationScan.md
aamalhot Jun 10, 2025
2f8c347
Update New-SensitiveInformationScan.md
chrisda Jun 11, 2025
29eeb82
Update New-SensitiveInformationScan.md
chrisda Jun 11, 2025
25a868c
Merge pull request #12794 from aamalhot/patch-16
chrisda Jun 11, 2025
add32cc
Merge branch 'main' into SIS-chrisda
chrisda Jun 11, 2025
75f081e
Merge branch 'main' into SIS-chrisda
chrisda Jun 11, 2025
3129358
Update New-ApplicationAccessPolicy.md
chrisda Jun 11, 2025
cad6cad
Merge branch 'main' into SIS-chrisda
chrisda Jun 11, 2025
d6480f9
Update Set-SensitiveInformationScan.md
chrisda Jun 11, 2025
b19cda7
Update Set-SensitiveInformationScan.md
chrisda Jun 11, 2025
9ddbb56
Merge branch 'main' into SIS-chrisda
chrisda Jun 20, 2025
0302ee5
Merge branch 'main' into SIS-chrisda
chrisda Jul 1, 2025
55786be
Update New-SensitiveInformationScan.md
aamalhot Jul 17, 2025
d108d42
Update New-SensitiveInformationScanRule.md
aamalhot Jul 17, 2025
719fb2d
Update Remove-SensitiveInformationScan.md
aamalhot Jul 17, 2025
4e13af3
Update Remove-SensitiveInformationScanRule.md
aamalhot Jul 17, 2025
331aeb5
Merge pull request #2 from aamalhot/patch-20
aamalhot Jul 17, 2025
69e8d1c
Update Set-SensitiveInformationScanRule.md
aamalhot Jul 17, 2025
f2d9431
Update Set-SensitiveInformationScan.md
aamalhot Jul 17, 2025
fa589e6
Update New-SensitiveInformationScan.md
chrisda Jul 17, 2025
a086f33
Merge pull request #12891 from aamalhot/patch-17
chrisda Jul 17, 2025
95e16c0
Update Remove-SensitiveInformationScan.md
chrisda Jul 17, 2025
c9e9bd6
Update Remove-SensitiveInformationScanRule.md
chrisda Jul 17, 2025
0221376
Merge pull request #12893 from aamalhot/patch-19
chrisda Jul 17, 2025
a8e4774
Update Set-SensitiveInformationScanRule.md
chrisda Jul 17, 2025
b205c8e
Merge pull request #12894 from aamalhot/patch-21
chrisda Jul 17, 2025
b01c431
Update Set-SensitiveInformationScan.md
chrisda Jul 17, 2025
6e0a8d6
Merge pull request #12895 from aamalhot/patch-22
chrisda Jul 17, 2025
c8c279b
Update New-SensitiveInformationScanRule.md
chrisda Jul 17, 2025
a0c599d
Merge branch 'SIS-chrisda' into patch-18
chrisda Jul 17, 2025
56f5196
Merge pull request #12892 from aamalhot/patch-18
chrisda Jul 17, 2025
8724b10
Merge branch 'main' into SIS-chrisda
chrisda Jul 18, 2025
43b3bf6
Date-time updates
chrisda Jul 18, 2025
1652d81
Merge branch 'main' into SIS-chrisda
chrisda Sep 12, 2025
2e1276f
New formatting
chrisda Sep 12, 2025
5a8e6e1
Merge branch 'main' into SIS-chrisda
chrisda Sep 17, 2025
d506f0f
New format updates
chrisda Sep 17, 2025
d8420be
Update documentation for IncludeImpactAssessment and IncludeScanProgr…
aamalhot Sep 23, 2025
4374b5b
Update CancelScan description in documentation
aamalhot Sep 23, 2025
e08003b
Enhance documentation for Get-SensitiveInformationScanRule
aamalhot Sep 23, 2025
58efbe2
Update Set-SensitiveInformationScan.md
chrisda Sep 23, 2025
86aa10c
Merge pull request #13127 from aamalhot/patch-24
chrisda Sep 23, 2025
42715e1
Fix grammar and punctuation in documentation
chrisda Sep 23, 2025
ba2d68d
Merge pull request #13126 from aamalhot/patch-23
chrisda Sep 23, 2025
33318aa
Update documentation for Get-SensitiveInformationScanRule
chrisda Sep 23, 2025
56baed8
Merge pull request #13128 from aamalhot/patch-25
chrisda Sep 23, 2025
86c3a5f
Merge branch 'main' into SIS-chrisda
chrisda Sep 23, 2025
276fc6a
SensitiveInformation cmdlets
chrisda Sep 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
---
applicable: Security & Compliance
author: chrisda
external help file: Microsoft.Exchange.TransportMailflow-Help.xml
Locale: en-US
Module Name: ExchangePowerShell
ms.author: chrisda
online version: https://learn.microsoft.com/powershell/module/exchangepowershell/cancel-sensitiveinformationscan
schema: 2.0.0
title: Cancel-SensitiveInformationScan
---

# Cancel-SensitiveInformationScan

## SYNOPSIS
This cmdlet is available only in Security & Compliance PowerShell. For more information, see [Security & Compliance PowerShell](https://learn.microsoft.com/powershell/exchange/scc-powershell).

Use the Cancel-SensitiveInformationScan cmdlet to cancel sensitive information scans.

For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).

## SYNTAX

### Identity (Default)
```
Cancel-SensitiveInformationScan [-Identity] <PolicyIdParameter>
[-Confirm]
[-WhatIf]
[<CommonParameters>]
```

## DESCRIPTION
To use this cmdlet in Security & Compliance PowerShell, you need to be assigned permissions. For more information, see [Permissions in the Microsoft Purview compliance portal](https://learn.microsoft.com/purview/microsoft-365-compliance-center-permissions).

## EXAMPLES

### Example 1
```powershell
Cancel-SensitiveInformationScan -Identity "HR Department"
```

This example cancels the specified sensitive information scan.

## PARAMETERS

### -Identity

> Applicable: Security & Compliance

The Identity parameter specifies the sensitive information scan that you want to cancel. You can use any value that uniquely identifies the scan. For example:

- Name
- Distinguished name (DN)
- GUID

```yaml
Type: PolicyIdParameter
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
```

### -Confirm

> Applicable: Security & Compliance

The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding.

- Destructive cmdlets (for example, Remove-\* cmdlets) have a built-in pause that forces you to acknowledge the command before proceeding. For these cmdlets, you can skip the confirmation prompt by using this exact syntax: `-Confirm:$false`.
- Most other cmdlets (for example, New-\* and Set-\* cmdlets) don't have a built-in pause. For these cmdlets, specifying the Confirm switch without a value introduces a pause that forces you acknowledge the command before proceeding.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf

> Applicable: Security & Compliance

The WhatIf switch doesn't work in Security & Compliance PowerShell.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).

## INPUTS

## OUTPUTS

## NOTES

## RELATED LINKS
18 changes: 18 additions & 0 deletions exchange/exchange-ps/ExchangePowerShell/ExchangePowerShell.md
Original file line number Diff line number Diff line change
Expand Up @@ -1738,6 +1738,8 @@ Exchange PowerShell is built on PowerShell technology to a powerful command-line
### [Update-ExchangeHelp](Update-ExchangeHelp.md)

## policy-and-compliance Cmdlets
### [Cancel-SensitiveInformationScan](Cancel-SensitiveInformationScan.md)

### [Check-PurviewConfig](Check-PurviewConfig.md)

### [Disable-JournalArchiving](Disable-JournalArchiving.md)
Expand Down Expand Up @@ -1796,6 +1798,10 @@ Exchange PowerShell is built on PowerShell technology to a powerful command-line

### [Get-ReviewItems](Get-ReviewItems.md)

### [Get-SensitiveInformationScan](Get-SensitiveInformationScan.md)

### [Get-SensitiveInformationScanRule](Get-SensitiveInformationScanRule.md)

### [Get-SupervisoryReviewPolicyV2](Get-SupervisoryReviewPolicyV2.md)

### [Get-SupervisoryReviewRule](Get-SupervisoryReviewRule.md)
Expand Down Expand Up @@ -1834,6 +1840,10 @@ Exchange PowerShell is built on PowerShell technology to a powerful command-line

### [New-ProtectionAlert](New-ProtectionAlert.md)

### [New-SensitiveInformationScan](New-SensitiveInformationScan.md)

### [New-SensitiveInformationScanRule](New-SensitiveInformationScanRule.md)

### [New-SupervisoryReviewPolicyV2](New-SupervisoryReviewPolicyV2.md)

### [New-SupervisoryReviewRule](New-SupervisoryReviewRule.md)
Expand All @@ -1860,6 +1870,10 @@ Exchange PowerShell is built on PowerShell technology to a powerful command-line

### [Remove-ProtectionAlert](Remove-ProtectionAlert.md)

### [Remove-SensitiveInformationScan](Remove-SensitiveInformationScan.md)

### [Remove-SensitiveInformationScanRule](Remove-SensitiveInformationScanRule.md)

### [Remove-SupervisoryReviewPolicyV2](Remove-SupervisoryReviewPolicyV2.md)

### [Remove-TransportRule](Remove-TransportRule.md)
Expand All @@ -1884,6 +1898,10 @@ Exchange PowerShell is built on PowerShell technology to a powerful command-line

### [Set-ProtectionAlert](Set-ProtectionAlert.md)

### [Set-SensitiveInformationScan](Set-SensitiveInformationScan.md)

### [Set-SensitiveInformationScanRule](Set-SensitiveInformationScanRule.md)

### [Set-SupervisoryReviewPolicyV2](Set-SupervisoryReviewPolicyV2.md)

### [Set-SupervisoryReviewRule](Set-SupervisoryReviewRule.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
---
applicable: Security & Compliance
author: chrisda
external help file: Microsoft.Exchange.TransportMailflow-Help.xml
Locale: en-US
Module Name: ExchangePowerShell
ms.author: chrisda
online version: https://learn.microsoft.com/powershell/module/exchangepowershell/get-sensitiveinformationscan
schema: 2.0.0
title: Get-SensitiveInformationScan
---

# Get-SensitiveInformationScan

## SYNOPSIS
This cmdlet is available only in Security & Compliance PowerShell. For more information, see [Security & Compliance PowerShell](https://learn.microsoft.com/powershell/exchange/scc-powershell).

Use the Get-SensitiveInformationScan cmdlet to view the properties of sensitive information scans.

For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).

## SYNTAX

```
Get-SensitiveInformationScan [[-Identity] <PolicyIdParameter>]
[-IncludeImpactAssessment <Boolean>]
[-IncludeProgressForAllActiveScans <Boolean>]
[-IncludeScanProgress <Boolean>]
[<CommonParameters>]
```

## DESCRIPTION
To use this cmdlet in Security & Compliance PowerShell, you need to be assigned permissions. For more information, see [Permissions in the Microsoft Purview compliance portal](https://learn.microsoft.com/purview/microsoft-365-compliance-center-permissions).

## EXAMPLES

### Example 1
```powershell
Get-SensitiveInformationScan | Format-Table Name,ParentPolicyName
```

This example returns a summary list of all sensitive information scans in the organization.

### Example 2
```powershell
Get-SensitiveInformationScan -Identity "HR Department Scan"
```

This example returns detailed information for the specified scan.

## PARAMETERS

### -Identity

> Applicable: Security & Compliance

The Identity parameter specifies the sensitive information scan that you want to view. You can use any value that uniquely identifies the scan. For example:

- Name
- Distinguished name (DN)
- GUID

```yaml
Type: PolicyIdParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
```

### -IncludeImpactAssessment

> Applicable: Security & Compliance

The IncludeImpactAssessment parameter specifies whether to refresh the latest scan status during the estimation stage. Valid values are:

- $true: Get the latest estimation status.
- $false: Return the last updated scan status.

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -IncludeProgressForAllActiveScans

> Applicable: Security & Compliance

This parameter is reserved for internal Microsoft use.

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -IncludeScanProgress

> Applicable: Security & Compliance

The IncludeScanProgress parameter specifies whether to refresh the latest scan status during the classification phase. Valid values are:

- $true: Get the latest classification status.
- $false: Return the last updated scan status.

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).

## INPUTS

## OUTPUTS

## NOTES

## RELATED LINKS
Loading