diff --git a/Win10.psm1 b/Win10.psm1 index f6d71ecb..44a3f331 100644 --- a/Win10.psm1 +++ b/Win10.psm1 @@ -4077,6 +4077,27 @@ Function UnpinTaskbarIcons { +########## +#region UWP Loopback +########## + +# Disable Loopback +Function DisableLoopback{ + Write-Output "Disabling Loopback..." + CheckNetIsolation LoopbackExempt –c | Out-Null +} + +# Enable Loopback +Function EnableLoopback{ + Write-Output "Enabling Loopback..." + Get-AppxPackage | select-object -ExpandProperty PackageFamilyName | ForEach-Object -Process {CheckNetIsolation LoopbackExempt –a –n=$_} | Out-Null +} + +########## +#endregion UWP Loopback +########## + + ########## #region Auxiliary Functions ##########