New-CMBaseline

Creates a Configuration Manager baseline.

Syntax

New-CMBaseline
   [-Category <String[]>]
   [-Confirm]
   [-Description <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   -Name <String>
   [-WhatIf]
   [<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
Required:True
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
Required:False
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
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Description

Specifies a description for the baseline.

Type:String
Aliases:LocalizedDescription
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

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

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
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
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False