Hi In the function Set-DbcCisConfig the command (row 35) Set-DbcConfig -Name policy.oleautomation -Value 0 should be replaced with Set-DbcConfig -Name policy.oleautomation -Value $false Reason: policy.oleautomation is boolean and not integer Kind Regards Andy