Here are my variables:
$HistoryDatabase = "EPM"
$configurationGroup = "DEV"
$PolicyCategoryFilter = "Server Configuration"
$EvalMode= "cHECK"
Evaluate specific Policies against a Server List
Uses the Invoke-PolicyEvaluation Cmdlet
v4.12
Parameter -ConfigurationGroup specifies the
Central Management Server group to evaluate
Parameter -PolicyCategoryFilter specifies the
category of policies to evaluate
Parameter -EvalMode accepts "Check" to report policy
results, "Configure" to reconfigure any violations
Declare variables to define the central warehouse
in which to write the output, store the policies
$CentralManagementServer = "CMS_ServerName"$HistoryDatabase = "EPM"
$configurationGroup = "DEV"
$PolicyCategoryFilter = "Server Configuration"
$EvalMode= "cHECK"