Skip to content

Commit cd8fc6c

Browse files
PaulHiginTravisEz13
authored andcommitted
Fix for JEA user role in virtual account (#11668)
1 parent 801a45c commit cd8fc6c

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/System.Management.Automation/engine/remoting/commands/CustomShellCommands.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,11 +1122,6 @@ private string ConstructPluginContent(out string srcConfigFilePath, out string d
11221122
tempValue);
11231123
}
11241124

1125-
if (!isUseSharedProcessSpecified)
1126-
{
1127-
UseSharedProcess = true;
1128-
}
1129-
11301125
string sharedHostParameter = string.Empty;
11311126
if (isUseSharedProcessSpecified)
11321127
{

test/powershell/Modules/Microsoft.PowerShell.Core/PSSessionConfiguration.Tests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ try
5757

5858
$result.MaxShells | Should -Be 40
5959
$result.IdleTimeoutms | Should -Be 3600000
60+
$result.UseSharedProcess | Should -Be 'False'
6061
}
6162
}
6263
Describe "Validate Get-PSSessionConfiguration, Enable-PSSessionConfiguration, Disable-PSSessionConfiguration, Unregister-PSSessionConfiguration cmdlets" -Tags @("CI", 'RequireAdminOnWindows') {

0 commit comments

Comments
 (0)