Get-NetFirewallRule cmdlet - Is this for servers only?

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.

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

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.

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