New-CMBaseline
New-CMBaseline
Creates a Configuration Manager baseline.
Syntax
Parameter Set: New
New-CMBaseline -Name <String> [-Category <String[]> ] [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The New-CMBaseline cmdlet creates a Microsoft System Center 2012 SP1 Configuration Manager baseline. A baseline is a collection of configuration items that System Center 2012 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.
Parameters
-Category<String[]>
Specifies an array of categories to which the baseline configuration belongs. Valid values are:
-- Client
-- IT Infrastructure
-- Line of Business
-- Server
Aliases |
LocalizedCategoryInstanceNames |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Description<String>
Specifies a description for the baseline.
Aliases |
LocalizedDescription |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies a name for the configuration baseline.
Aliases |
LocalizedDisplayName |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Create a configuration baseline
This command creates a baseline for compliance named Accounting Department baseline. The command specifies a description for the baseline.
PS C:\> New-CMBaseline -Name "Accounting Department baseline" -Description "Compliance standards for Accounting computers."