List Firewall Rules Set by Group Policy

I found this on a random note last modified in 2016 and it seems like google results are still sparse for returning only GPO firewall rules.  The following will give you a quick peek at GPO enforced firewall rules:

$colNames = 'DisplayName','DisplayGroup','Name','Enabled','Profile','Direction','Action','Status','EnforcementStatus','PolicyStoreSource','PolicyStoreSourceType'
$GPOrules = Get-NetFirewallRule -PolicyStore ActiveStore -PolicyStoreSourceType GroupPolicy | sort DisplayName | select $colNames
if($psISE){$GPOrules | Out-GridView} else {$GPOrules | ft -a -w}