|
| 1 | +--- |
| 2 | +external help file: Microsoft.Exchange.TransportMailflow-Help.xml |
| 3 | +online version: https://learn.microsoft.com/powershell/module/exchange/get-featureconfiguration |
| 4 | +applicable: Security & Compliance |
| 5 | +title: Get-FeatureConfiguration |
| 6 | +schema: 2.0.0 |
| 7 | +--- |
| 8 | + |
| 9 | +# Get-FeatureConfiguration |
| 10 | + |
| 11 | +## SYNOPSIS |
| 12 | +This cmdlet is available only in Security & Compliance PowerShell. For more information, see [Security & Compliance PowerShell](https://learn.microsoft.com/powershell/exchange/scc-powershell). |
| 13 | + |
| 14 | +> [!NOTE] |
| 15 | +> This cmdlet is currently available in Public Preview, isn't available in all organizations, and is subject to change. |
| 16 | +
|
| 17 | +Use the Get-FeatureConfiguration cmdlet to view Microsoft Purview feature configurations within your organization, including: |
| 18 | + |
| 19 | +- Collection policies. |
| 20 | +- Endpoint DLP trust container. |
| 21 | + |
| 22 | +For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax). |
| 23 | + |
| 24 | +## SYNTAX |
| 25 | + |
| 26 | +``` |
| 27 | +Get-FeatureConfiguration [[-Identity] <PolicyIdParameter>] [-FeatureScenario] <PolicyScenario> |
| 28 | + [-All] |
| 29 | + [-Confirm] |
| 30 | + [-GeneralDiscovery] |
| 31 | + [-IrmDiscovery] |
| 32 | + [-WhatIf] |
| 33 | + [<CommonParameters>] |
| 34 | +``` |
| 35 | + |
| 36 | +## DESCRIPTION |
| 37 | +To use this cmdlet in Security & Compliance PowerShell, you need to be assigned permissions. For more information, see [Permissions in Security & Compliance](https://go.microsoft.com/fwlink/p/?LinkId=511920). |
| 38 | + |
| 39 | +## EXAMPLES |
| 40 | + |
| 41 | +### Example 1 |
| 42 | +```powershell |
| 43 | +Get-FeatureConfiguration -FeatureScenario KnowYourData | Format-Table Name,Mode |
| 44 | +``` |
| 45 | + |
| 46 | +This example returns a summary list of all collection policies in the organization. |
| 47 | + |
| 48 | +### Example 2 |
| 49 | +```powershell |
| 50 | +Get-FeatureConfiguration -FeatureScenario KnowYourData -Identity "Engineering Group" |
| 51 | +``` |
| 52 | + |
| 53 | +This example returns detailed information about the specified collection policy. |
| 54 | + |
| 55 | +## PARAMETERS |
| 56 | + |
| 57 | +### -Identity |
| 58 | +The Identity policy specifies the feature configuration that you want to view. You can use any value that uniquely identifies the configuration. For example: |
| 59 | + |
| 60 | +- Name |
| 61 | +- Distinguished name (DN) |
| 62 | +- GUID |
| 63 | + |
| 64 | +```yaml |
| 65 | +Type: PolicyIdParameter |
| 66 | +Parameter Sets: (All) |
| 67 | +Aliases: |
| 68 | +Applicable: Security & Compliance |
| 69 | + |
| 70 | +Required: False |
| 71 | +Position: 1 |
| 72 | +Default value: None |
| 73 | +Accept pipeline input: True (ByPropertyName, ByValue) |
| 74 | +Accept wildcard characters: False |
| 75 | +``` |
| 76 | +
|
| 77 | +### -FeatureScenario |
| 78 | +The FeatureScenario parameter specifies the scenario for the feature configuration. Currently, the only valid values are: |
| 79 | +- `KnowYourData` for collection policies |
| 80 | +- `TrustContainer` for Endpoint DLP trust container |
| 81 | + |
| 82 | +```yaml |
| 83 | +Type: PolicyScenario |
| 84 | +Parameter Sets: (All) |
| 85 | +Aliases: |
| 86 | +Applicable: Security & Compliance |
| 87 | +
|
| 88 | +Required: True |
| 89 | +Position: Named |
| 90 | +Default value: None |
| 91 | +Accept pipeline input: False |
| 92 | +Accept wildcard characters: False |
| 93 | +``` |
| 94 | + |
| 95 | +### -All |
| 96 | +This parameter is reserved for internal Microsoft use. |
| 97 | + |
| 98 | +```yaml |
| 99 | +Type: SwitchParameter |
| 100 | +Parameter Sets: (All) |
| 101 | +Aliases: |
| 102 | +Applicable: Security & Compliance |
| 103 | +
|
| 104 | +Required: False |
| 105 | +Position: Named |
| 106 | +Default value: None |
| 107 | +Accept pipeline input: False |
| 108 | +Accept wildcard characters: False |
| 109 | +``` |
| 110 | + |
| 111 | +### -Confirm |
| 112 | +This parameter is reserved for internal Microsoft use. |
| 113 | + |
| 114 | +```yaml |
| 115 | +Type: SwitchParameter |
| 116 | +Parameter Sets: (All) |
| 117 | +Aliases: cf |
| 118 | +Applicable: Security & Compliance |
| 119 | +
|
| 120 | +Required: False |
| 121 | +Position: Named |
| 122 | +Default value: None |
| 123 | +Accept pipeline input: False |
| 124 | +Accept wildcard characters: False |
| 125 | +``` |
| 126 | + |
| 127 | +### -GeneralDiscovery |
| 128 | +This parameter is reserved for internal Microsoft use. |
| 129 | + |
| 130 | +```yaml |
| 131 | +Type: SwitchParameter |
| 132 | +Parameter Sets: (All) |
| 133 | +Aliases: |
| 134 | +Applicable: Security & Compliance |
| 135 | +
|
| 136 | +Required: False |
| 137 | +Position: Named |
| 138 | +Default value: None |
| 139 | +Accept pipeline input: False |
| 140 | +Accept wildcard characters: False |
| 141 | +``` |
| 142 | + |
| 143 | +### -IrmDiscovery |
| 144 | +This parameter is reserved for internal Microsoft use. |
| 145 | + |
| 146 | +```yaml |
| 147 | +Type: SwitchParameter |
| 148 | +Parameter Sets: (All) |
| 149 | +Aliases: |
| 150 | +Applicable: Security & Compliance |
| 151 | +
|
| 152 | +Required: False |
| 153 | +Position: Named |
| 154 | +Default value: None |
| 155 | +Accept pipeline input: False |
| 156 | +Accept wildcard characters: False |
| 157 | +``` |
| 158 | + |
| 159 | +### -WhatIf |
| 160 | +This parameter is reserved for internal Microsoft use. |
| 161 | + |
| 162 | +```yaml |
| 163 | +Type: SwitchParameter |
| 164 | +Parameter Sets: (All) |
| 165 | +Aliases: wi |
| 166 | +Applicable: Security & Compliance |
| 167 | +
|
| 168 | +Required: False |
| 169 | +Position: Named |
| 170 | +Default value: None |
| 171 | +Accept pipeline input: False |
| 172 | +Accept wildcard characters: False |
| 173 | +``` |
| 174 | + |
| 175 | +### CommonParameters |
| 176 | +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). |
| 177 | + |
| 178 | +## INPUTS |
| 179 | + |
| 180 | +## OUTPUTS |
| 181 | + |
| 182 | +## NOTES |
| 183 | + |
| 184 | +## RELATED LINKS |
0 commit comments