Get-CMSettingDeployment
Get all of the deployments for a settings policy object.
Syntax
Default (Default)
Get-CMSettingDeployment
[-CMSetting] <CMSettings>
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
Description
Get all of the deployments for a settings policy object. For example, a BitLocker management policy or a Microsoft Defender Application Control policy. Use the New-CMSettingDeployment to deploy a policy object.
Examples
Example 1: Get all deployments for a BitLocker management setting
This example gets an existing BitLocker management setting object and then uses the pipe operator to get all deployments for that policy object.
Get-CMBlmSetting -Name "My BitLocker setting" | Get-CMSettingDeployment
Example 2: Get all deployments for a Microsoft Defender Application Control setting
This example gets an existing Microsoft Defender Application Control setting object, and then uses the pipe operator to get all deployments for that policy object.
Get-CMWdacSetting -Name "My App Control setting" | Get-CMSettingDeployment
Parameters
-CMSetting
Specify a settings object to get its deployments.
- For BitLocker management, use the Get-CMBlmSetting cmdlet.
- For Microsoft Defender Application Control, use the Get-CMWdacSetting cmdlet.
Parameter properties
Type: | CMSettings |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-DisableWildcardHandling
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ForceWildcardHandling
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.