New-​CM​Configuration​Policy​Deployment

Creates a configuration policy deployment

Syntax

New-CMConfigurationPolicyDeployment
   [-Collection <IResultObject>]
   [-CollectionId <String>]
   [-CollectionName <String>]
   [-Confirm]
   [-DisableWildcardHandling]
   [-EnableEnforcement <Boolean>]
   [-ForceWildcardHandling]
   [-GenerateAlert <Boolean>]
   [-MonitoredByScom <Boolean>]
   [-OverrideServiceWindow <Boolean>]
   [-ParameterValue <Int32>]
   [-PostponeDateTime <DateTime>]
   [-Schedule <IResultObject>]
   -UserDataAndProfileName <String>
   [-WhatIf]
   [<CommonParameters>]
New-CMConfigurationPolicyDeployment
   [-Collection <IResultObject>]
   [-CollectionId <String>]
   [-CollectionName <String>]
   [-Confirm]
   [-DisableWildcardHandling]
   [-EnableEnforcement <Boolean>]
   [-ForceWildcardHandling]
   [-GenerateAlert <Boolean>]
   [-MonitoredByScom <Boolean>]
   [-OverrideServiceWindow <Boolean>]
   [-ParameterValue <Int32>]
   [-PostponeDateTime <DateTime>]
   [-Schedule <IResultObject>]
   -UserDataAndProfileId <String>
   [-WhatIf]
   [<CommonParameters>]
New-CMConfigurationPolicyDeployment
   [-Collection <IResultObject>]
   [-CollectionId <String>]
   [-CollectionName <String>]
   [-Confirm]
   [-DisableWildcardHandling]
   [-EnableEnforcement <Boolean>]
   [-ForceWildcardHandling]
   [-GenerateAlert <Boolean>]
   [-MonitoredByScom <Boolean>]
   [-OverrideServiceWindow <Boolean>]
   [-ParameterValue <Int32>]
   [-PostponeDateTime <DateTime>]
   [-Schedule <IResultObject>]
   -UserDataAndProfile <IResultObject>
   [-WhatIf]
   [<CommonParameters>]
New-CMConfigurationPolicyDeployment
   [-Collection <IResultObject>]
   [-CollectionId <String>]
   [-CollectionName <String>]
   [-Confirm]
   [-DisableWildcardHandling]
   [-EnableEnforcement <Boolean>]
   [-ForceWildcardHandling]
   [-GenerateAlert <Boolean>]
   [-MonitoredByScom <Boolean>]
   [-OverrideServiceWindow <Boolean>]
   [-ParameterValue <Int32>]
   [-PostponeDateTime <DateTime>]
   -RemoteConnectionProfileName <String>
   [-Schedule <IResultObject>]
   [-WhatIf]
   [<CommonParameters>]
New-CMConfigurationPolicyDeployment
   [-Collection <IResultObject>]
   [-CollectionId <String>]
   [-CollectionName <String>]
   [-Confirm]
   [-DisableWildcardHandling]
   [-EnableEnforcement <Boolean>]
   [-ForceWildcardHandling]
   [-GenerateAlert <Boolean>]
   [-MonitoredByScom <Boolean>]
   [-OverrideServiceWindow <Boolean>]
   [-ParameterValue <Int32>]
   [-PostponeDateTime <DateTime>]
   -RemoteConnectionProfileId <String>
   [-Schedule <IResultObject>]
   [-WhatIf]
   [<CommonParameters>]
New-CMConfigurationPolicyDeployment
   [-Collection <IResultObject>]
   [-CollectionId <String>]
   [-CollectionName <String>]
   [-Confirm]
   [-DisableWildcardHandling]
   [-EnableEnforcement <Boolean>]
   [-ForceWildcardHandling]
   [-GenerateAlert <Boolean>]
   [-MonitoredByScom <Boolean>]
   [-OverrideServiceWindow <Boolean>]
   [-ParameterValue <Int32>]
   [-PostponeDateTime <DateTime>]
   -RemoteConnectionProfile <IResultObject>
   [-Schedule <IResultObject>]
   [-WhatIf]
   [<CommonParameters>]
New-CMConfigurationPolicyDeployment
   [-Collection <IResultObject>]
   [-CollectionId <String>]
   [-CollectionName <String>]
   [-Confirm]
   [-DisableWildcardHandling]
   -FirewallPolicy <IResultObject>
   [-ForceWildcardHandling]
   [-Schedule <IResultObject>]
   [-WhatIf]
   [<CommonParameters>]
New-CMConfigurationPolicyDeployment
   [-Collection <IResultObject>]
   [-CollectionId <String>]
   [-CollectionName <String>]
   [-Confirm]
   [-DisableWildcardHandling]
   -FirewallPolicyId <String>
   [-ForceWildcardHandling]
   [-Schedule <IResultObject>]
   [-WhatIf]
   [<CommonParameters>]
New-CMConfigurationPolicyDeployment
   [-Collection <IResultObject>]
   [-CollectionId <String>]
   [-CollectionName <String>]
   [-Confirm]
   [-DisableWildcardHandling]
   -FirewallPolicyName <String>
   [-ForceWildcardHandling]
   [-Schedule <IResultObject>]
   [-WhatIf]
   [<CommonParameters>]

Description

{{Fill in the Description}}

Examples

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Required Parameters

-FirewallPolicy

{{Fill FirewallPolicy Description}}

Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-FirewallPolicyId

{{Fill FirewallPolicyId Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FirewallPolicyName

{{Fill FirewallPolicyName Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoteConnectionProfile

{{Fill RemoteConnectionProfile Description}}

Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-RemoteConnectionProfileId

{{Fill RemoteConnectionProfileId Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoteConnectionProfileName

{{Fill RemoteConnectionProfileName Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UserDataAndProfile

{{Fill UserDataAndProfile Description}}

Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-UserDataAndProfileId

{{Fill UserDataAndProfileId Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UserDataAndProfileName

{{Fill UserDataAndProfileName Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Collection

{{Fill Collection Description}}

Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CollectionId

{{Fill CollectionId Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CollectionName

{{Fill CollectionName Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-EnableEnforcement

{{Fill EnableEnforcement Description}}

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-GenerateAlert

{{Fill GenerateAlert Description}}

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MonitoredByScom

{{Fill MonitoredByScom Description}}

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OverrideServiceWindow

{{Fill OverrideServiceWindow Description}}

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ParameterValue

{{Fill ParameterValue Description}}

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PostponeDateTime

{{Fill PostponeDateTime Description}}

Type:DateTime
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Schedule

{{Fill Schedule Description}}

Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

System.Object