DSC : cfirewall module help needed

Welcome Forums DSC (Desired State Configuration) DSC : cfirewall module help needed

This topic contains 2 replies, has 2 voices, and was last updated by

1 year, 4 months ago.

  • Author
  • #81707

    Points: 0
    Rank: Member

    Hi Everyone,

    Im using cfirewall module for manageing firewall rules in my dsc script.

    I installed the cfirewall module from powershell gallery on the machine from which I will be executing scripts.

    .mof file got genrated however when I try to push the configuration it fails saying the cfirewall module is not installed on the target machine.

    Is there any better way to manage firewall using dsc...

    How can I install module on the target machine in the same script...

    Please share your views on it

    Thank you in advance

  • #81712

    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    The module also needs to be deployed to whatever machines are trying to process the MOF. You can do that yourself, or you can set up a pull server, and configure node LCMs to download modules from there. Covered in “The DSC Book,” if you're interested, but also in the documentation.

  • #81715

    Points: 0
    Rank: Member

    Thank you Don,

    So is there any way I can install the cfirewall module thru the same script if I'm using push method.

    Or is there any other way to open firewall rules without installing cfirewall module.

The topic ‘DSC : cfirewall module help needed’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort