Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
091d9b3
Created new *-AutoSensitivityLabelPolicy/Rule cmdlet topics
chrisda Jul 21, 2020
ae480d0
Merge branch 'master' into ASL-chrisda
chrisda Aug 7, 2020
4320d7f
Merge branch 'master' into ASL-chrisda
chrisda Aug 17, 2020
6506578
Added some missing parameter descriptions
chrisda Aug 17, 2020
ddecb86
Update New-AutoSensitivityLabelRule.md
chrisda Aug 18, 2020
b97a6ff
Update Get-AutoSensitivityLabelPolicy.md
rohan-mohapata Aug 25, 2020
565d3d6
Update Get-AutoSensitivityLabelPolicy.md
chrisda Aug 25, 2020
1b3a329
Merge pull request #6393 from rohan-mohapata/patch-1
chrisda Aug 25, 2020
b31ea1d
Update New-AutoSensitivityLabelPolicy.md
rohan-mohapata Aug 25, 2020
5897082
Update Set-AutoSensitivityLabelPolicy.md
rohan-mohapata Aug 25, 2020
66ba358
Update New-AutoSensitivityLabelPolicy.md
chrisda Aug 25, 2020
08a2695
Merge pull request #6396 from rohan-mohapata/patch-2
chrisda Aug 25, 2020
a7f8c27
Update Set-AutoSensitivityLabelPolicy.md
chrisda Aug 25, 2020
24c6a7c
Merge pull request #6397 from rohan-mohapata/patch-3
chrisda Aug 25, 2020
e8535f2
Update Get-AutoSensitivityLabelRule.md
rohan-mohapata Aug 25, 2020
eaa0fe7
Update Get-AutoSensitivityLabelRule.md
chrisda Aug 25, 2020
4e1d4a7
Merge pull request #6400 from rohan-mohapata/patch-4
chrisda Aug 25, 2020
ca0e89a
Update New-AutoSensitivityLabelRule.md
rohan-mohapata Aug 25, 2020
1563e7a
Update Remove-AutoSensitivityLabelRule.md
rohan-mohapata Aug 25, 2020
69364d6
Update Set-AutoSensitivityLabelRule.md
rohan-mohapata Aug 25, 2020
4d1be6d
Update New-AutoSensitivityLabelRule.md
rohan-mohapata Aug 25, 2020
bcdcfaa
Update Set-AutoSensitivityLabelRule.md
rohan-mohapata Aug 25, 2020
7502f99
Update New-AutoSensitivityLabelPolicy.md
rohan-mohapata Aug 26, 2020
924a73c
Update New-AutoSensitivityLabelRule.md
chrisda Aug 27, 2020
f46fc66
Merge pull request #6401 from rohan-mohapata/patch-5
chrisda Aug 27, 2020
8b8d6f0
Update Remove-AutoSensitivityLabelRule.md
chrisda Aug 27, 2020
df3efe4
Merge pull request #6403 from rohan-mohapata/patch-6
chrisda Aug 27, 2020
f442876
Update Set-AutoSensitivityLabelRule.md
chrisda Aug 27, 2020
e33b971
Merge pull request #6404 from rohan-mohapata/patch-7
chrisda Aug 27, 2020
6304999
Update New-AutoSensitivityLabelPolicy.md
chrisda Aug 27, 2020
2e8db47
Merge pull request #6411 from rohan-mohapata/patch-8
chrisda Aug 27, 2020
99661f1
Update New-AutoSensitivityLabelPolicy.md
rohan-mohapata Aug 27, 2020
a370457
Merge pull request #6418 from rohan-mohapata/patch-9
chrisda Aug 27, 2020
475640e
Merge branch 'master' into ASL-chrisda
chrisda Aug 27, 2020
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
116 changes: 116 additions & 0 deletions exchange/exchange-ps/exchange/Get-AutoSensitivityLabelPolicy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
---
external help file: Microsoft.Exchange.TransportMailflow-Help.xml
online version: https://docs.microsoft.com/powershell/module/exchange/get-autosensitivitylabelpolicy
applicable: Office 365 Security & Compliance Center
title: Get-Label
schema: 2.0.0
author: chrisda
ms.author: chrisda
ms.reviewer:
monikerRange: "o365scc-ps"
---

# Get-AutoSensitivityLabelPolicy

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

Use the Get-AutoSensitivityLabelPolicy cmdlet to view auto-labeling policies in your organization.

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

## SYNTAX

```
Get-AutoSensitivityLabelPolicy [[-Identity] <PolicyIdParameter>]
[-DistributionDetail]
[-IncludeTestModeResults <Boolean>]
[<CommonParameters>]
```

## DESCRIPTION
You need to be assigned permissions in the Security & Compliance Center before you can use this cmdlet. For more information, see [Permissions in the Security & Compliance Center](https://docs.microsoft.com/microsoft-365/security/office-365-security/permissions-in-the-security-and-compliance-center).

## EXAMPLES

### Example 1
```powershell
Get-AutoSensitivityLabelPolicy -Identity "Employee Numbers" -IncludeTestModeResults $true
```

This example returns detailed information about the autosensitivity label policy named Employee Numbers. The IncludeTestModeResults parameter and value allows you to see the status of test mode.

## PARAMETERS

### -Identity
The Identity parameter specifies the auto-labeling policy that you want to view. You can use any value that uniquely identifies the policy. For example:

- Name

- Distinguished name (DN)

- GUID

```yaml
Type: PolicyIdParameter
Parameter Sets: (All)
Aliases:
Applicable: Office 365 Security & Compliance Center

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

### -DistributionDetail
The DistributionDetail switch returns detailed policy distribution information in the DistributionResults property. You don't need to specify a value with this switch.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Applicable: Office 365 Security & Compliance Center

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

### -IncludeTestModeResults
The IncludeTestModeResults parameter specifies whether to include the status of test mode in the policy details. Valid values are:

- $true: Include the status of test mode in the policy details.

- $false: Don't include the status of test mode in the policy details.

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:
Applicable: Office 365 Security & Compliance Center

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
175 changes: 175 additions & 0 deletions exchange/exchange-ps/exchange/Get-AutoSensitivityLabelRule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
---
external help file: Microsoft.Exchange.TransportMailflow-Help.xml
online version: https://docs.microsoft.com/powershell/module/exchange/get-autosensitivitylabelrule
applicable: Office 365 Security & Compliance Center
title: Get-Label
schema: 2.0.0
author: chrisda
ms.author: chrisda
ms.reviewer:
monikerRange: "o365scc-ps"
---

# Get-AutoSensitivityLabelRule

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

Use the Get-AutoSensitivityLabelPolicy cmdlet to view auto-labeling policy rules in your organization.

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

## SYNTAX

```
Get-AutoSensitivityLabelRule [[-Identity] <ComplianceRuleIdParameter>]
[-Confirm]
[-IncludeExecutionRuleGuids <Boolean>]
[-IncludeExecutionRuleInformation <Boolean>]
[-Policy <PolicyIdParameter>]
[-WhatIf]
[<CommonParameters>]
```

## DESCRIPTION
You need to be assigned permissions in the Security & Compliance Center before you can use this cmdlet. For more information, see [Permissions in the Security & Compliance Center](https://docs.microsoft.com/microsoft-365/security/office-365-security/permissions-in-the-security-and-compliance-center).

## EXAMPLES

### Example 1
```powershell
Get-AutoSensitivityLabelRule
```

This example displays summary information for all autolabeling rules in the Security & Compliance Center.

## PARAMETERS

### -Identity
The Identity parameter specifies the auto-labeling policy rule that you want to view. You can use any value that uniquely identifies the rule. For example:

- Name

- Distinguished name (DN)

- GUID

```yaml
Type: ComplianceRuleIdParameter
Parameter Sets: (All)
Aliases:
Applicable: Office 365 Security & Compliance Center

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

### -Confirm
This parameter is reserved for internal Microsoft use.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Applicable: Office 365 Security & Compliance Center

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

### -IncludeExecutionRuleGuids
The IncludeExecutionRuleGuids parameter specifies whether to include the execution rule GUID in the rule details. Valid values are:

- $true: Include the execution rule GUID in the rule details.

- $false: Don't include the execution rule GUID in the rule details. This is the default value.

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:
Applicable: Office 365 Security & Compliance Center

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

### -IncludeExecutionRuleInformation
The IncludeExecutionRuleInformation parameter specifies whether to include the execution rule information in the rule details. Valid values are:

- $true: Include the execution rule information in the rule details.

- $false: Don't include the execution rule information in the rule details. This is the default value.

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:
Applicable: Office 365 Security & Compliance Center

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

### -Policy
The Policy parameter filters the auto-labeling policy rule results by the associated auto-labeling policy. You can use any value that uniquely identifies the policy. For example:

- Name
- Distinguished name (DN)
- GUID

```yaml
Type: PolicyIdParameter
Parameter Sets: (All)
Aliases:
Applicable: Office 365 Security & Compliance Center

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

### -WhatIf
This parameter is reserved for internal Microsoft use.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Applicable: Office 365 Security & Compliance Center

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