|
| 1 | +--- |
| 2 | +external help file: Microsoft.Exchange.TransportMailflow-Help.xml |
| 3 | +online version: https://docs.microsoft.com/powershell/module/exchange/get-autosensitivitylabelrule |
| 4 | +applicable: Office 365 Security & Compliance Center |
| 5 | +title: Get-Label |
| 6 | +schema: 2.0.0 |
| 7 | +author: chrisda |
| 8 | +ms.author: chrisda |
| 9 | +ms.reviewer: |
| 10 | +monikerRange: "o365scc-ps" |
| 11 | +--- |
| 12 | + |
| 13 | +# Get-AutoSensitivityLabelRule |
| 14 | + |
| 15 | +## SYNOPSIS |
| 16 | +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). |
| 17 | + |
| 18 | +Use the Get-AutoSensitivityLabelPolicy cmdlet to view auto-labeling policy rules in your organization. |
| 19 | + |
| 20 | +For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax). |
| 21 | + |
| 22 | +## SYNTAX |
| 23 | + |
| 24 | +``` |
| 25 | +Get-AutoSensitivityLabelRule [[-Identity] <ComplianceRuleIdParameter>] |
| 26 | + [-Confirm] |
| 27 | + [-IncludeExecutionRuleGuids <Boolean>] |
| 28 | + [-IncludeExecutionRuleInformation <Boolean>] |
| 29 | + [-Policy <PolicyIdParameter>] |
| 30 | + [-WhatIf] |
| 31 | + [<CommonParameters>] |
| 32 | +``` |
| 33 | + |
| 34 | +## DESCRIPTION |
| 35 | +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). |
| 36 | + |
| 37 | +## EXAMPLES |
| 38 | + |
| 39 | +### Example 1 |
| 40 | +```powershell |
| 41 | +Get-AutoSensitivityLabelRule |
| 42 | +``` |
| 43 | + |
| 44 | +This example displays summary information for all autolabeling rules in the Security & Compliance Center. |
| 45 | + |
| 46 | +## PARAMETERS |
| 47 | + |
| 48 | +### -Identity |
| 49 | +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: |
| 50 | + |
| 51 | +- Name |
| 52 | + |
| 53 | +- Distinguished name (DN) |
| 54 | + |
| 55 | +- GUID |
| 56 | + |
| 57 | +```yaml |
| 58 | +Type: ComplianceRuleIdParameter |
| 59 | +Parameter Sets: (All) |
| 60 | +Aliases: |
| 61 | +Applicable: Office 365 Security & Compliance Center |
| 62 | + |
| 63 | +Required: False |
| 64 | +Position: 0 |
| 65 | +Default value: None |
| 66 | +Accept pipeline input: True (ByPropertyName, ByValue) |
| 67 | +Accept wildcard characters: False |
| 68 | +``` |
| 69 | +
|
| 70 | +### -Confirm |
| 71 | +This parameter is reserved for internal Microsoft use. |
| 72 | +
|
| 73 | +```yaml |
| 74 | +Type: SwitchParameter |
| 75 | +Parameter Sets: (All) |
| 76 | +Aliases: cf |
| 77 | +Applicable: Office 365 Security & Compliance Center |
| 78 | + |
| 79 | +Required: False |
| 80 | +Position: Named |
| 81 | +Default value: None |
| 82 | +Accept pipeline input: False |
| 83 | +Accept wildcard characters: False |
| 84 | +``` |
| 85 | +
|
| 86 | +### -IncludeExecutionRuleGuids |
| 87 | +The IncludeExecutionRuleGuids parameter specifies whether to include the execution rule GUID in the rule details. Valid values are: |
| 88 | +
|
| 89 | +- $true: Include the execution rule GUID in the rule details. |
| 90 | +
|
| 91 | +- $false: Don't include the execution rule GUID in the rule details. This is the default value. |
| 92 | +
|
| 93 | +```yaml |
| 94 | +Type: Boolean |
| 95 | +Parameter Sets: (All) |
| 96 | +Aliases: |
| 97 | +Applicable: Office 365 Security & Compliance Center |
| 98 | + |
| 99 | +Required: False |
| 100 | +Position: Named |
| 101 | +Default value: None |
| 102 | +Accept pipeline input: False |
| 103 | +Accept wildcard characters: False |
| 104 | +``` |
| 105 | +
|
| 106 | +### -IncludeExecutionRuleInformation |
| 107 | +The IncludeExecutionRuleInformation parameter specifies whether to include the execution rule information in the rule details. Valid values are: |
| 108 | +
|
| 109 | +- $true: Include the execution rule information in the rule details. |
| 110 | +
|
| 111 | +- $false: Don't include the execution rule information in the rule details. This is the default value. |
| 112 | +
|
| 113 | +```yaml |
| 114 | +Type: Boolean |
| 115 | +Parameter Sets: (All) |
| 116 | +Aliases: |
| 117 | +Applicable: Office 365 Security & Compliance Center |
| 118 | + |
| 119 | +Required: False |
| 120 | +Position: Named |
| 121 | +Default value: None |
| 122 | +Accept pipeline input: False |
| 123 | +Accept wildcard characters: False |
| 124 | +``` |
| 125 | +
|
| 126 | +### -Policy |
| 127 | +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: |
| 128 | +
|
| 129 | +- Name |
| 130 | +- Distinguished name (DN) |
| 131 | +- GUID |
| 132 | +
|
| 133 | +```yaml |
| 134 | +Type: PolicyIdParameter |
| 135 | +Parameter Sets: (All) |
| 136 | +Aliases: |
| 137 | +Applicable: Office 365 Security & Compliance Center |
| 138 | + |
| 139 | +Required: False |
| 140 | +Position: Named |
| 141 | +Default value: None |
| 142 | +Accept pipeline input: False |
| 143 | +Accept wildcard characters: False |
| 144 | +``` |
| 145 | +
|
| 146 | +### -WhatIf |
| 147 | +This parameter is reserved for internal Microsoft use. |
| 148 | +
|
| 149 | +```yaml |
| 150 | +Type: SwitchParameter |
| 151 | +Parameter Sets: (All) |
| 152 | +Aliases: wi |
| 153 | +Applicable: Office 365 Security & Compliance Center |
| 154 | + |
| 155 | +Required: False |
| 156 | +Position: Named |
| 157 | +Default value: None |
| 158 | +Accept pipeline input: False |
| 159 | +Accept wildcard characters: False |
| 160 | +``` |
| 161 | +
|
| 162 | +### CommonParameters |
| 163 | +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). |
| 164 | +
|
| 165 | +## INPUTS |
| 166 | +
|
| 167 | +### |
| 168 | +
|
| 169 | +## OUTPUTS |
| 170 | +
|
| 171 | +### |
| 172 | +
|
| 173 | +## NOTES |
| 174 | +
|
| 175 | +## RELATED LINKS |
0 commit comments