diff --git a/assets/win10x64-enterprise-eval.xml b/assets/win10x64-enterprise-eval.xml index 5d282e4..860ae74 100644 --- a/assets/win10x64-enterprise-eval.xml +++ b/assets/win10x64-enterprise-eval.xml @@ -453,7 +453,7 @@ 21 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win10x64-enterprise.xml b/assets/win10x64-enterprise.xml index 8365f38..0bb16ca 100644 --- a/assets/win10x64-enterprise.xml +++ b/assets/win10x64-enterprise.xml @@ -456,7 +456,7 @@ 21 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win10x64-iot.xml b/assets/win10x64-iot.xml index 27b5ca1..ef591ce 100644 --- a/assets/win10x64-iot.xml +++ b/assets/win10x64-iot.xml @@ -462,7 +462,7 @@ 21 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win10x64-ltsc.xml b/assets/win10x64-ltsc.xml index 787f8e7..d5049ae 100644 --- a/assets/win10x64-ltsc.xml +++ b/assets/win10x64-ltsc.xml @@ -459,7 +459,7 @@ 21 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win10x64.xml b/assets/win10x64.xml index 4dacfab..d79f000 100644 --- a/assets/win10x64.xml +++ b/assets/win10x64.xml @@ -456,7 +456,7 @@ 21 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win11x64-enterprise-eval.xml b/assets/win11x64-enterprise-eval.xml index f696049..55518d0 100644 --- a/assets/win11x64-enterprise-eval.xml +++ b/assets/win11x64-enterprise-eval.xml @@ -466,7 +466,7 @@ 20 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win11x64-enterprise.xml b/assets/win11x64-enterprise.xml index 37722de..a15f62b 100644 --- a/assets/win11x64-enterprise.xml +++ b/assets/win11x64-enterprise.xml @@ -469,7 +469,7 @@ 20 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win11x64.xml b/assets/win11x64.xml index e773e54..865825e 100644 --- a/assets/win11x64.xml +++ b/assets/win11x64.xml @@ -469,7 +469,7 @@ 20 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win2008r2-eval.xml b/assets/win2008r2-eval.xml index 4f69250..4c940ba 100644 --- a/assets/win2008r2-eval.xml +++ b/assets/win2008r2-eval.xml @@ -293,7 +293,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win2008r2.xml b/assets/win2008r2.xml index 18bf9f3..89bb580 100644 --- a/assets/win2008r2.xml +++ b/assets/win2008r2.xml @@ -296,7 +296,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win2012r2-eval.xml b/assets/win2012r2-eval.xml index 2e1747d..146b1f1 100644 --- a/assets/win2012r2-eval.xml +++ b/assets/win2012r2-eval.xml @@ -332,7 +332,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win2012r2.xml b/assets/win2012r2.xml index 58c1c80..5f2ebef 100644 --- a/assets/win2012r2.xml +++ b/assets/win2012r2.xml @@ -335,7 +335,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win2016-eval.xml b/assets/win2016-eval.xml index 78f4329..90d3d77 100644 --- a/assets/win2016-eval.xml +++ b/assets/win2016-eval.xml @@ -362,7 +362,7 @@ 21 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win2016.xml b/assets/win2016.xml index db440a8..9c0945e 100644 --- a/assets/win2016.xml +++ b/assets/win2016.xml @@ -365,7 +365,7 @@ 21 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win2019-eval.xml b/assets/win2019-eval.xml index 0baa0b7..ed6a17d 100644 --- a/assets/win2019-eval.xml +++ b/assets/win2019-eval.xml @@ -366,7 +366,7 @@ 21 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win2019.xml b/assets/win2019.xml index 76d2a73..fc202b4 100644 --- a/assets/win2019.xml +++ b/assets/win2019.xml @@ -369,7 +369,7 @@ 21 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win2022-eval.xml b/assets/win2022-eval.xml index 0e88e0a..cea3ab4 100644 --- a/assets/win2022-eval.xml +++ b/assets/win2022-eval.xml @@ -366,7 +366,7 @@ 21 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win2022.xml b/assets/win2022.xml index f844cf6..39127cf 100644 --- a/assets/win2022.xml +++ b/assets/win2022.xml @@ -369,7 +369,7 @@ 21 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win7x64-enterprise.xml b/assets/win7x64-enterprise.xml index 6934dd5..870fb0d 100644 --- a/assets/win7x64-enterprise.xml +++ b/assets/win7x64-enterprise.xml @@ -297,7 +297,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win7x64-ultimate.xml b/assets/win7x64-ultimate.xml index 6e6e36c..b024814 100644 --- a/assets/win7x64-ultimate.xml +++ b/assets/win7x64-ultimate.xml @@ -297,7 +297,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win7x64.xml b/assets/win7x64.xml index 29c0ab7..3dede8a 100644 --- a/assets/win7x64.xml +++ b/assets/win7x64.xml @@ -297,7 +297,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win7x86-enterprise.xml b/assets/win7x86-enterprise.xml index 11c78b6..492a0be 100644 --- a/assets/win7x86-enterprise.xml +++ b/assets/win7x86-enterprise.xml @@ -297,7 +297,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win7x86-ultimate.xml b/assets/win7x86-ultimate.xml index 221ef90..ea33320 100644 --- a/assets/win7x86-ultimate.xml +++ b/assets/win7x86-ultimate.xml @@ -297,7 +297,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win7x86.xml b/assets/win7x86.xml index c243898..030da22 100644 --- a/assets/win7x86.xml +++ b/assets/win7x86.xml @@ -297,7 +297,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win81x64-enterprise-eval.xml b/assets/win81x64-enterprise-eval.xml index 99f9ed3..c4e8d7f 100644 --- a/assets/win81x64-enterprise-eval.xml +++ b/assets/win81x64-enterprise-eval.xml @@ -317,7 +317,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win81x64-enterprise.xml b/assets/win81x64-enterprise.xml index b43038e..7c0fdcd 100644 --- a/assets/win81x64-enterprise.xml +++ b/assets/win81x64-enterprise.xml @@ -320,7 +320,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery diff --git a/assets/win81x64.xml b/assets/win81x64.xml index 19ea568..c9b69e0 100644 --- a/assets/win81x64.xml +++ b/assets/win81x64.xml @@ -327,7 +327,7 @@ 15 - netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes + powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)" Enable Network Discovery