Hi, Have you upgraded from a previous version of EPM? If so, have you ran the upgrade steps as outlined by the documentation? You don't seem to be running the script in a way similar to the command line further below are you?
I have a test environment with one CMS and one server to test on, and these are the configs in the PS script:
# Declare variables to define the central warehouse
# in which to write the output, store the policies
$CentralManagementServer = "MyMachine\SQL2014"
$HistoryDatabase = "MDW"
# Define the location to write the results of the policy evaluation
$ResultDir = "D:\PBMTest\Results\"
# End of variables
My CMS is "MyMachine\SQL2014" and there's a server group with a single instance below it "MyMachine2" which is a default instance in this case.
I created a job that has a Powershell step, and here’s the command line:
SL "D:\PBMTest"
.\EPM_EnterpriseEvaluation_412.ps1 -ConfigurationGroup "" -PolicyCategoryFilter "Microsoft Best Practices: Server Configuration" -EvalMode "Check"
and I didn’t get any error from the job - no output messages are expected if no errors.
Also, running the same from the PS cmdline yields the following:
PS D:\PBMTest> .\EPM_EnterpriseEvaluation_412.ps1 -ConfigurationGroup "" -Policy CategoryFilter "Microsoft Best Practices: Database Configurations" -EvalMode "Check"
EPM Framework v4.1.2
Starting policy category evaluation - 26/02/2015 20:47:50
Loading Assemblies
SQLPS module already loaded
Connecting to the policy store
Get list of servers to evaluate
Starting server loop
Finished server loop
VERBOSE: Feb 26 2015 8:47:54:000PM - Starting data integration for Category
Microsoft Best Practices: Database Configurations
VERBOSE: Feb 26 2015 8:47:54:070PM |- 109 rows inserted...
VERBOSE: Feb 26 2015 8:47:54:070PM - Starting no target data integration
VERBOSE: Feb 26 2015 8:47:54:073PM |- 0 rows inserted...
VERBOSE: Feb 26 2015 8:47:54:073PM - Starting errors data integration
VERBOSE: Feb 26 2015 8:47:54:087PM |- 0 rows inserted...
VERBOSE: Feb 26 2015 8:47:54:087PM - Finished data integration for Category
Microsoft Best Practices: Database Configurations
Finished policy category evaluation - 26/02/2015 20:47:54
Which version of PS and OS are you running? So you’re not getting errors, just no rows loaded? Can you redeploy in your test environment for a clean test? Thanks PL Sent from Windows Mail
I have a test environment with one CMS and one server to test on, and these are the configs in the PS script:
# Declare variables to define the central warehouse
# in which to write the output, store the policies
$CentralManagementServer = "MyMachine\SQL2014"
$HistoryDatabase = "MDW"
# Define the location to write the results of the policy evaluation
$ResultDir = "D:\PBMTest\Results\"
# End of variables
My CMS is "MyMachine\SQL2014" and there's a server group with a single instance below it "MyMachine2" which is a default instance in this case.
I created a job that has a Powershell step, and here’s the command line:
SL "D:\PBMTest"
.\EPM_EnterpriseEvaluation_412.ps1 -ConfigurationGroup "" -PolicyCategoryFilter "Microsoft Best Practices: Server Configuration" -EvalMode "Check"
and I didn’t get any error from the job - no output messages are expected if no errors.
Also, running the same from the PS cmdline yields the following:
PS D:\PBMTest> .\EPM_EnterpriseEvaluation_412.ps1 -ConfigurationGroup "" -Policy CategoryFilter "Microsoft Best Practices: Database Configurations" -EvalMode "Check"
EPM Framework v4.1.2
Starting policy category evaluation - 26/02/2015 20:47:50
Loading Assemblies
SQLPS module already loaded
Connecting to the policy store
Get list of servers to evaluate
Starting server loop
Finished server loop
VERBOSE: Feb 26 2015 8:47:54:000PM - Starting data integration for Category
Microsoft Best Practices: Database Configurations
VERBOSE: Feb 26 2015 8:47:54:070PM |- 109 rows inserted...
VERBOSE: Feb 26 2015 8:47:54:070PM - Starting no target data integration
VERBOSE: Feb 26 2015 8:47:54:073PM |- 0 rows inserted...
VERBOSE: Feb 26 2015 8:47:54:073PM - Starting errors data integration
VERBOSE: Feb 26 2015 8:47:54:087PM |- 0 rows inserted...
VERBOSE: Feb 26 2015 8:47:54:087PM - Finished data integration for Category
Microsoft Best Practices: Database Configurations
Finished policy category evaluation - 26/02/2015 20:47:54
Which version of PS and OS are you running? So you’re not getting errors, just no rows loaded? Can you redeploy in your test environment for a clean test? Thanks PL Sent from Windows Mail