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.
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.
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.