Get-NetFirewallRule cmdlet - Is this for servers only?

Welcome Forums General PowerShell Q&A Get-NetFirewallRule cmdlet - Is this for servers only?

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

 
Moderator
4 months, 2 weeks ago.

  • Author
    Posts
  • #127741

    Participant
    Points: 475
    Rank: Contributor

    I have Powershell 5.1 (64-bit).  I cannot find Get-NetFirewallRule in my PC environment — Windows 7 (64-bit).

    Would be grateful for some guidance.

  • #127746

    Participant
    Points: 1,373
    Helping Hand
    Rank: Community Hero

    If I'm not wrong Get-NetFirewallRule only exists on Windows 10 and Server 2016 computers

  • #127777

    Participant
    Points: 659
    Helping Hand
    Rank: Major Contributor

    Yeah, there are a fair few cmdlets that rely on core OS frameworks introduced in Windows 8 or Windows 10, and thus can't be ported back to Windows 7 even with PowerShell 5.1.

  • #127782

    Moderator
    Points: 1,976
    Helping Hand
    Rank: Community Hero

    Get-NetFirewallRule requires MSFT_NetFirewallRule wmi class which is available from Windows 8, hence won't work in Win 7.

The topic ‘Get-NetFirewallRule cmdlet - Is this for servers only?’ is closed to new replies.

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