New-CMBaseline

Creates a Configuration Manager baseline.

Syntax

New-CMBaseline
   -Name <String>
   [-Description <String>]
   [-Category <String[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The New-CMBaseline cmdlet creates a Microsoft System Center Configuration Manager baseline. A baseline is a collection of configuration items that System Center Configuration Manager uses to evaluate whether a computer complies with software requirements. After you create a baseline, you can deploy it to a collection so that devices in that collection download the configuration baseline and assess compliance with it.

Examples

Example 1: Create a configuration baseline

PS C:\> New-CMBaseline -Name "Accounting Department baseline" -Description "Compliance standards for Accounting computers."

This command creates a baseline for compliance named Accounting Department baseline. The command specifies a description for the baseline.

Required Parameters

-Name

Specifies a name for the configuration baseline.

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

Optional Parameters

-Category

Specifies an array of categories to which the baseline configuration belongs. Valid values are:

  • Client
  • IT Infrastructure
  • Line of Business
  • Server
Type:String[]
Aliases:LocalizedCategoryInstanceNames
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:False
Accept pipeline input:False
Accept wildcard characters:False
-Description

Specifies a description for the baseline.

Type:String
Aliases:LocalizedDescription
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
-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
-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