Remove-SCBaseline

Removes a baseline from VMM.  

Description

The Remove-SCBaseline cmdlet removes a baseline and its scope assignments from System Center Virtual Machine Manager (VMM). Compliance is no longer graded for this baseline.

For more information about baselines, type: "Get-Help New-SCBaseline".

For more information about Remove-SCBaseline, type: "Get-Help Remove-SCBaseline -online".

Parameters

Baseline

Required? true
Accept Pipeline Input? true (ByValue)
Position? 0
Specifies a VMM baseline object.

Confirm

Required? false
Accept Pipeline Input? false
Position? named
Prompts for confirmation before running the command.

JobVariable

Required? false
Accept Pipeline Input? false
Position? named
Specifies that job progress is tracked and stored in the variable named by this parameter. 

PROTipID

Required? false
Accept Pipeline Input? false
Position? named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

RunAsynchronously

Required? false
Accept Pipeline Input? false
Position? named
Indicates that the job runs asynchronously so that control returns to the command shell immediately. 

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Remove a baseline.
PS C:\> $Baseline = Get-SCBaseline -Name "Security Baseline"
PS C:\> Remove-SCBaseline -Baseline $Baseline
The first command gets the baseline object named Security Baseline and stores the object in the $Baseline variable.

The second command removes the baseline stored in $Baseline (Security Baseline).

See Also