Start-CMBaselineDeployment

Starts deployment of a Configuration Manager baseline configuration to a collection of computers.

Syntax

Start-CMBaselineDeployment
     [-Id] <Int32>
     -CollectionName <String>
     [-EnableEnforcement <Boolean>]
     [-OverrideServiceWindow <Boolean>]
     [-GenerateAlert <Boolean>]
     [-ParameterValue <Int32>]
     [-PostponeDate <DateTime>]
     [-PostponeTime <DateTime>]
     [-MonitoredByScom <Boolean>]
     [-Schedule <IResultObject>]
     [-DisableWildcardHandling]
     [-ForceWildcardHandling]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]
Start-CMBaselineDeployment
     [-InputObject] <IResultObject>
     -CollectionName <String>
     [-EnableEnforcement <Boolean>]
     [-OverrideServiceWindow <Boolean>]
     [-GenerateAlert <Boolean>]
     [-ParameterValue <Int32>]
     [-PostponeDate <DateTime>]
     [-PostponeTime <DateTime>]
     [-MonitoredByScom <Boolean>]
     [-Schedule <IResultObject>]
     [-DisableWildcardHandling]
     [-ForceWildcardHandling]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]
Start-CMBaselineDeployment
     [-Name] <String>
     -CollectionName <String>
     [-EnableEnforcement <Boolean>]
     [-OverrideServiceWindow <Boolean>]
     [-GenerateAlert <Boolean>]
     [-ParameterValue <Int32>]
     [-PostponeDate <DateTime>]
     [-PostponeTime <DateTime>]
     [-MonitoredByScom <Boolean>]
     [-Schedule <IResultObject>]
     [-DisableWildcardHandling]
     [-ForceWildcardHandling]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]

Description

The Start-CMBaselineDeployment cmdlet starts the deployment of a Microsoft System Center Configuration Manager baseline configuration to a collection of computers.

A baseline defines the configuration of a product or system established at a specific time. Baselines contain a defined set of required configurations and associated rules. System Center Configuration Manager assigns baselines to computer in collections, together with a compliance evaluation schedule.

Examples

Example 1: Start baseline deployment

PS C:\> Start-CMBaselineDeployment -CollectionName "All Users" -Name "Baseline22" -EnableEnforcement $True -GenerateAlert $True -MonitoredByScom $True -OverrideServiceWindow $True -ParameterValue 30

This command starts a baseline deployment named Baseline22 for the collection All Users. The command enables enforcement, generates alerts, monitors the deployment using Operations Manager, and overrides defined service windows. The command specifies a parameter value of 30.

Required Parameters

-CollectionName

Specifies a name of a collection. The deployment applies to this collection.

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

Specifies an array of IDs of baseline deployments.

Type:Int32
Aliases:CIId, CI_ID
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Specifies a baseline deployment object.

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

Specifies an array of names for baseline deployments.

Type:String
Aliases:LocalizedDisplayName
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
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

Indicates whether to enable enforcement for the deployment. During enforcement, a client reports compliance information about a deployment.

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

Indicates whether Configuration Manager generates alerts during the deployment.

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

Specifies whether to apply System Center 2016 - Operations Manager monitoring criteria during the deployment.

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

Indicates whether to override service windows while deploying policies. Service windows are periods of time allocated for maintenance.

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

Specifies an integer value. This is the parameter value.

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

Specifies a date, as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. This is the date for the deployment if postponed.

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

Specifies a time, as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. This is the time for the deployment if postponed.

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

Specifies a CMSchedule object. To create a CMSchedule object, use the New-CMSchedule cmdlet.

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:False
Accept pipeline input:False
Accept wildcard characters:False