Last active
December 3, 2018 11:51
-
-
Save vibbow/e42e903fa88e4bda712358325170c59e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$all_app = Get-AppxPackage | |
foreach ($each_app in $all_app) | |
{ | |
$each_family_name = $each_app.PackageFamilyName | |
$each_capability = (Get-AppxPackageManifest $each_app).Package.Capabilities.Capability | |
if ($each_capability) | |
{ | |
if ($each_capability.Name.Contains('internetClient') -or $each_capability.Name.Contains('internetClientServer')) | |
{ | |
Write-Host "checknetisolation loopbackexempt -a -n=$($each_family_name)" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment