Quantcast
Channel: Configuration Manager 2012 - Security, Updates and Compliance forum
Viewing all articles
Browse latest Browse all 6382

Compliance Settings & Powershell Commands

$
0
0

I have started using Configuration Baseline's and I followed a blog on how to add an inbound firewall rules via a Configuration Item using Powershell.  The Powershell script is using the commands 'Get-NetFirewallRule'& 'New-NetFirewallRule' which work fine for my Windows 8 clients however those commands are not available for the version of powershell in the Win 7 clients.  The post was not OS specific and such it answer how you would use this for win 7 devices? Maybe I'm missing something and those commands would work on a Win 7 device...?

I'm hopefully making a good assumption that all Win 7 devices would have to have Import-Module NetSecurity' run in Powershell before we are able to deploy that Configuration Baseline calling those commands?  Am I off here?  Is there a better way to go about this?  Or would I have to make two Configuration Item's by OS.... (Win 7 and Win8)? 




Viewing all articles
Browse latest Browse all 6382

Trending Articles