none
[DSC xFirewall resource] How to specify a range of ports? RRS feed

  • Question

  • Hey, in a DSC xFirewall resource, how can I specify a range of ports?

    I saw this example (example 2), but it seems to be a list of ports (only the ports specified are considered) not a range.

    https://github.com/PowerShell/xNetworking/wiki/xFirewall

    • Moved by Bill_Stewart Friday, July 7, 2017 6:35 PM This is not support forum for third party software
    Tuesday, May 23, 2017 2:53 PM

All replies

  • Firewall rules use a port range specifier which is a string:  "1000-2000".  It should work with the firewall resource.  If not then contact the author of the DSC resource.


    \_(ツ)_/


    • Edited by jrv Tuesday, May 23, 2017 5:35 PM
    Tuesday, May 23, 2017 5:35 PM