From 2452a18039e8d719b61034a304ea5356b9246efa Mon Sep 17 00:00:00 2001 From: Mike Richmond Date: Wed, 26 Oct 2016 11:31:23 -0700 Subject: [PATCH] Fixing the plugin install directory to refect the current version --- src/powershell-native/Install-PowerShellRemoting.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/powershell-native/Install-PowerShellRemoting.ps1 b/src/powershell-native/Install-PowerShellRemoting.ps1 index 8e3009a7df5..b9b8a2077ce 100644 --- a/src/powershell-native/Install-PowerShellRemoting.ps1 +++ b/src/powershell-native/Install-PowerShellRemoting.ps1 @@ -142,7 +142,7 @@ else Write-Verbose "Using PowerShell Version: $targetPsVersion" -Verbose } -$pluginBasePath = Join-Path "$env:WINDIR\System32\PowerShell" $powerShellVersion +$pluginBasePath = Join-Path "$env:WINDIR\System32\PowerShell" $targetPsVersion $resolvedPluginAbsolutePath = "" if (! (Test-Path $pluginBasePath))