From 38db12cd642761cd38f0a1e82e287c561e8ac1c8 Mon Sep 17 00:00:00 2001 From: themichaelbender Date: Wed, 12 Oct 2016 13:06:13 -0500 Subject: [PATCH] Update Setup-Host.ps1 --- Setup-Host.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Setup-Host.ps1 b/Setup-Host.ps1 index f97a835..81de207 100755 --- a/Setup-Host.ps1 +++ b/Setup-Host.ps1 @@ -34,7 +34,7 @@ foreach ($net in $netcon) { Set-NetConnectionProfile ` -InterfaceIndex $net.InterfaceIndex ` -NetworkCategory Private - $netname = $netcon.Name + $netname = $net.Name Write-host -ForegroundColor Cyan ` -Object "Setting Network Profile to Private for network connection $NetName" }