Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Fix Enable-PSRemoting"
This reverts commit d3d93f1197d8b00747b2ae654456666cae06836e.
  • Loading branch information
iSazonov committed Sep 27, 2017
commit ce1ed51747d60da7ee1f3a421862234a4b511402
Original file line number Diff line number Diff line change
Expand Up @@ -4874,7 +4874,7 @@ function Enable-PSRemoting
# Section 1:
# Move pwrshplugin.dll from $PSHOME to the endpoint directory
#
$pluginInstallPath = Join-Path ""$env:WINDIR\System32\PowerShell"" (""v"" + $psversiontable.GitCommitId -replace "" Commits: "", ""-"" -replace "" SHA: "", ""-"")
$pluginInstallPath = Join-Path ""$env:WINDIR\System32\PowerShell"" $psversiontable.GitCommitId
if (!(Test-Path $pluginInstallPath))
{{
$resolvedPluginInstallPath = New-Item -Type Directory -Path $pluginInstallPath
Expand Down