René's URL Explorer Experiment


Title: JEA session configuration breaks after upgrading past 7.2.1 · Issue #17367 · PowerShell/PowerShell · GitHub

Open Graph Title: JEA session configuration breaks after upgrading past 7.2.1 · Issue #17367 · PowerShell/PowerShell

X Title: JEA session configuration breaks after upgrading past 7.2.1 · Issue #17367 · PowerShell/PowerShell

Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...

Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...

X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/17367

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JEA session configuration breaks after upgrading past 7.2.1","articleBody":"### Prerequisites\n\n- [X] Write a descriptive title.\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\n- [X] Search the existing issues.\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\n\n### Steps to reproduce\n\nAfter upgrading to Powershell 7.2.2, 7.2.3 or 7.2.4 when I run the Register-PSSessionConfiguration, it seems to complete with no errors from the command line, but I can no longer connect to the JEA configuration. This is a CI/CD deployment that has worked for months until we upgraded to 7.2.2 on the JEA server. The configuration will still work after the powershell upgrade from 7.2.1 until I reregister the configuration and then it will fail. It seems like something in the registration process. I also can uninstall post 7.2.1 versions, reinstall 7.2.1 and it will work again with no other changes.\r\n\r\nThe only other thing I noticed was that when I would register the configuration I would sometimes see two windows pop up in succession quickly with an error from pwsh.exe saying \"the argument 'icm' is not recognized as the name of a script file\". I'm attaching a screenshot. \r\n\r\nConnection command:\r\netsn cmjea.$env:USERDNSDOMAIN -ConfigurationName ums-cm-jea -UseSSL\n\n### Expected behavior\n\n```console\nJEA session ums-cm-jea would connect. I can connect to the standard WinRM session using \"etsn cmjea.$env:USERDNSDOMAIN -UseSSL\".\n```\n\n\n### Actual behavior\n\n```console\nReceive the following errors when trying to connect to the config:\r\n\r\netsn : Connecting to remote server cmjea.mydomain.com failed with the following error message : \u003cf:WSManFault\r\nxmlns:f=\"http://schemas.microsoft.com/wbem/wsman/1/wsmanfault\" Code=\"2689860592\"\r\nMachine=\"cmjea.mydomain.com\"\u003e\u003cf:Message\u003e\u003cf:ProviderFault provider=\"UMS-CM-JEA\"\r\npath=\"C:\\Windows\\system32\\PowerShell\\7.2.4\\pwrshplugin.dll\"\u003e\u003c/f:ProviderFault\u003e\u003c/f:Message\u003e\u003c/f:WSManFault\u003e For more\r\ninformation, see the about_Remote_Troubleshooting Help topic.\r\nAt line:1 char:1\r\n+ etsn cmjea.$env:USERDNSDOMAIN -ConfigurationName ums-cm-jea -UseSSL\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : InvalidArgument: (cmjea.mydomain.com:String) [Enter-PSSession], PSRemotingTransport\r\n   Exception\r\n    + FullyQualifiedErrorId : CreateRemoteRunspaceFailed\n```\n\n\n### Error details\n\n```console\nThere are events in the PowerShellCore/Operational log that are generated when registering the configuration indicating there is some problem. One references an issue connecting to localhost. I am able to connect to the default configurations via localhost.\r\n\r\nBelow are ethe events from newest to oldest:\r\n==================================\r\nLog Name:      PowerShellCore/Operational\r\nSource:        PowerShellCore\r\nDate:          5/17/2022 4:36:36 PM\r\nEvent ID:      4100\r\nTask Category: Executing Pipeline\r\nLevel:         Warning\r\nKeywords:      None\r\nUser:          CONTOSO\\my-adm\r\nComputer:      server.mydomain.com\r\nDescription:\r\nError Message = The running command stopped because the preference variable \"ErrorActionPreference\" or common parameter is set to Stop: [localhost] Connecting to remote server localhost failed with the following error message : \u003cf:WSManFault xmlns:f=\"http://schemas.microsoft.com/wbem/wsman/1/wsmanfault\" Code=\"2689860592\" Machine=\"localhost\"\u003e\u003cf:Message\u003e\u003cf:ProviderFault provider=\"UMS-CM-JEA\" path=\"C:\\Windows\\system32\\PowerShell\\7.2.4\\pwrshplugin.dll\"\u003e\u003c/f:ProviderFault\u003e\u003c/f:Message\u003e\u003c/f:WSManFault\u003e For more information, see the about_Remote_Troubleshooting Help topic.\r\nFully Qualified Error ID = -1605106704,PSSessionOpenFailed\r\nRecommended Action = \r\n\r\n\r\nContext:\r\n        Severity = Warning\r\n        Host Name = ConsoleHost\r\n        Host Version = 7.2.4\r\n        Host ID = 48dddc3b-232d-4c5f-9d6d-3f1c56b621c1\r\n        Host Application = C:\\Program Files\\PowerShell\\7\\pwsh.dll -WorkingDirectory ~\r\n        Engine Version = 7.2.4\r\n        Runspace ID = eee9a7a6-5768-411f-80b4-06f356a26ba1\r\n        Pipeline ID = 115\r\n        Command Name = New-PSSession\r\n        Command Type = Cmdlet\r\n        Script Name = \r\n        Command Path = \r\n        Sequence Number = 45\r\n        User = CONTOSO\\my-adm\r\n        Connected User = \r\n        Shell ID = Microsoft.PowerShell\r\n\r\n\r\nUser Data:\r\n\r\n\r\nEvent Xml:\r\n\u003cEvent xmlns=\"http://schemas.microsoft.com/win/2004/08/events/event\"\u003e\r\n  \u003cSystem\u003e\r\n    \u003cProvider Name=\"PowerShellCore\" Guid=\"{f90714a8-5509-434a-bf6d-b1624c8a19a2}\" /\u003e\r\n    \u003cEventID\u003e4100\u003c/EventID\u003e\r\n    \u003cVersion\u003e1\u003c/Version\u003e\r\n    \u003cLevel\u003e3\u003c/Level\u003e\r\n    \u003cTask\u003e106\u003c/Task\u003e\r\n    \u003cOpcode\u003e19\u003c/Opcode\u003e\r\n    \u003cKeywords\u003e0x0\u003c/Keywords\u003e\r\n    \u003cTimeCreated SystemTime=\"2022-05-17T20:36:36.9369428Z\" /\u003e\r\n    \u003cEventRecordID\u003e428267\u003c/EventRecordID\u003e\r\n    \u003cCorrelation ActivityID=\"{e3e592f7-c42e-4002-aff6-f1885ab8923a}\" /\u003e\r\n    \u003cExecution ProcessID=\"4056\" ThreadID=\"6764\" /\u003e\r\n    \u003cChannel\u003ePowerShellCore/Operational\u003c/Channel\u003e\r\n    \u003cComputer\u003eserver.mydomain.com\u003c/Computer\u003e\r\n    \u003cSecurity UserID=\"S-1-5-21-2147491999-1103789872-2603493700-327614\" /\u003e\r\n  \u003c/System\u003e\r\n  \u003cEventData\u003e\r\n    \u003cData Name=\"ContextInfo\"\u003e        Severity = Warning\r\n        Host Name = ConsoleHost\r\n        Host Version = 7.2.4\r\n        Host ID = 48dddc3b-232d-4c5f-9d6d-3f1c56b621c1\r\n        Host Application = C:\\Program Files\\PowerShell\\7\\pwsh.dll -WorkingDirectory ~\r\n        Engine Version = 7.2.4\r\n        Runspace ID = eee9a7a6-5768-411f-80b4-06f356a26ba1\r\n        Pipeline ID = 115\r\n        Command Name = New-PSSession\r\n        Command Type = Cmdlet\r\n        Script Name = \r\n        Command Path = \r\n        Sequence Number = 45\r\n        User = CONTOSO\\my-adm\r\n        Connected User = \r\n        Shell ID = Microsoft.PowerShell\r\n\u003c/Data\u003e\r\n    \u003cData Name=\"UserData\"\u003e\r\n    \u003c/Data\u003e\r\n    \u003cData Name=\"Payload\"\u003eError Message = The running command stopped because the preference variable \"ErrorActionPreference\" or common parameter is set to Stop: [localhost] Connecting to remote server localhost failed with the following error message : \u0026lt;f:WSManFault xmlns:f=\"http://schemas.microsoft.com/wbem/wsman/1/wsmanfault\" Code=\"2689860592\" Machine=\"localhost\"\u0026gt;\u0026lt;f:Message\u0026gt;\u0026lt;f:ProviderFault provider=\"UMS-CM-JEA\" path=\"C:\\Windows\\system32\\PowerShell\\7.2.4\\pwrshplugin.dll\"\u0026gt;\u0026lt;/f:ProviderFault\u0026gt;\u0026lt;/f:Message\u0026gt;\u0026lt;/f:WSManFault\u0026gt; For more information, see the about_Remote_Troubleshooting Help topic.\r\nFully Qualified Error ID = -1605106704,PSSessionOpenFailed\r\nRecommended Action = \r\n\u003c/Data\u003e\r\n  \u003c/EventData\u003e\r\n\u003c/Event\u003e\r\n\r\nLog Name:      PowerShellCore/Operational\r\nSource:        PowerShellCore\r\nDate:          5/17/2022 4:36:36 PM\r\nEvent ID:      8197\r\nTask Category: Connect\r\nLevel:         Verbose\r\nKeywords:      None\r\nUser:          CONTOSO\\my-adm\r\nComputer:      server.mydomain.com\r\nDescription:\r\nRunspace state changed to Broken\r\nEvent Xml:\r\n\u003cEvent xmlns=\"http://schemas.microsoft.com/win/2004/08/events/event\"\u003e\r\n  \u003cSystem\u003e\r\n    \u003cProvider Name=\"PowerShellCore\" Guid=\"{f90714a8-5509-434a-bf6d-b1624c8a19a2}\" /\u003e\r\n    \u003cEventID\u003e8197\u003c/EventID\u003e\r\n    \u003cVersion\u003e1\u003c/Version\u003e\r\n    \u003cLevel\u003e5\u003c/Level\u003e\r\n    \u003cTask\u003e1\u003c/Task\u003e\r\n    \u003cOpcode\u003e10\u003c/Opcode\u003e\r\n    \u003cKeywords\u003e0x0\u003c/Keywords\u003e\r\n    \u003cTimeCreated SystemTime=\"2022-05-17T20:36:36.9366393Z\" /\u003e\r\n    \u003cEventRecordID\u003e428266\u003c/EventRecordID\u003e\r\n    \u003cCorrelation ActivityID=\"{e3e592f7-c42e-4002-aff6-f1885ab8923a}\" /\u003e\r\n    \u003cExecution ProcessID=\"4056\" ThreadID=\"7144\" /\u003e\r\n    \u003cChannel\u003ePowerShellCore/Operational\u003c/Channel\u003e\r\n    \u003cComputer\u003eserver.mydomain.com\u003c/Computer\u003e\r\n    \u003cSecurity UserID=\"S-1-5-21-2147491999-1103789872-2603493700-327614\" /\u003e\r\n  \u003c/System\u003e\r\n  \u003cEventData\u003e\r\n    \u003cData Name=\"param1\"\u003eBroken\u003c/Data\u003e\r\n  \u003c/EventData\u003e\r\n\u003c/Event\u003e\r\n\r\nLog Name:      PowerShellCore/Operational\r\nSource:        PowerShellCore\r\nDate:          5/17/2022 4:36:36 PM\r\nEvent ID:      32784\r\nTask Category: None\r\nLevel:         Error\r\nKeywords:      None\r\nUser:          CONTOSO\\my-adm\r\nComputer:      server.mydomain.com\r\nDescription:\r\nRunspace Id: e3e592f7-c42e-4002-aff6-f1885ab8923a Pipeline Id: 00000000-0000-0000-0000-000000000000. WSMan reported an error with error code: -1605106704. \r\n Error message: Connecting to remote server localhost failed with the following error message : \u003cf:WSManFault xmlns:f=\"http://schemas.microsoft.com/wbem/wsman/1/wsmanfault\" Code=\"2689860592\" Machine=\"localhost\"\u003e\u003cf:Message\u003e\u003cf:ProviderFault provider=\"UMS-CM-JEA\" path=\"C:\\Windows\\system32\\PowerShell\\7.2.4\\pwrshplugin.dll\"\u003e\u003c/f:ProviderFault\u003e\u003c/f:Message\u003e\u003c/f:WSManFault\u003e For more information, see the about_Remote_Troubleshooting Help topic. \r\n StackTrace: \r\nEvent Xml:\r\n\u003cEvent xmlns=\"http://schemas.microsoft.com/win/2004/08/events/event\"\u003e\r\n  \u003cSystem\u003e\r\n    \u003cProvider Name=\"PowerShellCore\" Guid=\"{f90714a8-5509-434a-bf6d-b1624c8a19a2}\" /\u003e\r\n    \u003cEventID\u003e32784\u003c/EventID\u003e\r\n    \u003cVersion\u003e1\u003c/Version\u003e\r\n    \u003cLevel\u003e2\u003c/Level\u003e\r\n    \u003cTask\u003e0\u003c/Task\u003e\r\n    \u003cOpcode\u003e10\u003c/Opcode\u003e\r\n    \u003cKeywords\u003e0x0\u003c/Keywords\u003e\r\n    \u003cTimeCreated SystemTime=\"2022-05-17T20:36:36.9365236Z\" /\u003e\r\n    \u003cEventRecordID\u003e428265\u003c/EventRecordID\u003e\r\n    \u003cCorrelation ActivityID=\"{e3e592f7-c42e-4002-aff6-f1885ab8923a}\" /\u003e\r\n    \u003cExecution ProcessID=\"4056\" ThreadID=\"7144\" /\u003e\r\n    \u003cChannel\u003ePowerShellCore/Operational\u003c/Channel\u003e\r\n    \u003cComputer\u003eserver.mydomain.com\u003c/Computer\u003e\r\n    \u003cSecurity UserID=\"S-1-5-21-2147491999-1103789872-2603493700-327614\" /\u003e\r\n  \u003c/System\u003e\r\n  \u003cEventData\u003e\r\n    \u003cData Name=\"SessionId\"\u003ee3e592f7-c42e-4002-aff6-f1885ab8923a\u003c/Data\u003e\r\n    \u003cData Name=\"PipelineId\"\u003e00000000-0000-0000-0000-000000000000\u003c/Data\u003e\r\n    \u003cData Name=\"ErrorCode\"\u003e-1605106704\u003c/Data\u003e\r\n    \u003cData Name=\"ErrorMessage\"\u003eConnecting to remote server localhost failed with the following error message : \u0026lt;f:WSManFault xmlns:f=\"http://schemas.microsoft.com/wbem/wsman/1/wsmanfault\" Code=\"2689860592\" Machine=\"localhost\"\u0026gt;\u0026lt;f:Message\u0026gt;\u0026lt;f:ProviderFault provider=\"UMS-CM-JEA\" path=\"C:\\Windows\\system32\\PowerShell\\7.2.4\\pwrshplugin.dll\"\u0026gt;\u0026lt;/f:ProviderFault\u0026gt;\u0026lt;/f:Message\u0026gt;\u0026lt;/f:WSManFault\u0026gt; For more information, see the about_Remote_Troubleshooting Help topic.\u003c/Data\u003e\r\n    \u003cData Name=\"StackTrace\"\u003e\r\n    \u003c/Data\u003e\r\n  \u003c/EventData\u003e\r\n\u003c/Event\u003e\r\n\r\nLog Name:      PowerShellCore/Operational\r\nSource:        PowerShellCore\r\nDate:          5/17/2022 4:36:36 PM\r\nEvent ID:      12039\r\nTask Category: None\r\nLevel:         Information\r\nKeywords:      None\r\nUser:          CONTOSO\\my-adm\r\nComputer:      server.mydomain.com\r\nDescription:\r\nModifying activity Id and correlating\r\nEvent Xml:\r\n\u003cEvent xmlns=\"http://schemas.microsoft.com/win/2004/08/events/event\"\u003e\r\n  \u003cSystem\u003e\r\n    \u003cProvider Name=\"PowerShellCore\" Guid=\"{f90714a8-5509-434a-bf6d-b1624c8a19a2}\" /\u003e\r\n    \u003cEventID\u003e12039\u003c/EventID\u003e\r\n    \u003cVersion\u003e1\u003c/Version\u003e\r\n    \u003cLevel\u003e4\u003c/Level\u003e\r\n    \u003cTask\u003e0\u003c/Task\u003e\r\n    \u003cOpcode\u003e20\u003c/Opcode\u003e\r\n    \u003cKeywords\u003e0x0\u003c/Keywords\u003e\r\n    \u003cTimeCreated SystemTime=\"2022-05-17T20:36:36.9365143Z\" /\u003e\r\n    \u003cEventRecordID\u003e428264\u003c/EventRecordID\u003e\r\n    \u003cCorrelation ActivityID=\"{e3e592f7-c42e-4002-aff6-f1885ab8923a}\" /\u003e\r\n    \u003cExecution ProcessID=\"4056\" ThreadID=\"7144\" /\u003e\r\n    \u003cChannel\u003ePowerShellCore/Operational\u003c/Channel\u003e\r\n    \u003cComputer\u003eserver.mydomain.com\u003c/Computer\u003e\r\n    \u003cSecurity UserID=\"S-1-5-21-2147491999-1103789872-2603493700-327614\" /\u003e\r\n  \u003c/System\u003e\r\n  \u003cEventData\u003e\r\n  \u003c/EventData\u003e\r\n\u003c/Event\u003e\r\n\r\nLog Name:      PowerShellCore/Operational\r\nSource:        PowerShellCore\r\nDate:          5/17/2022 4:36:36 PM\r\nEvent ID:      8196\r\nTask Category: None\r\nLevel:         Information\r\nKeywords:      None\r\nUser:          CONTOSO\\my-adm\r\nComputer:      server.mydomain.com\r\nDescription:\r\nModifying activity Id and correlating\r\nEvent Xml:\r\n\u003cEvent xmlns=\"http://schemas.microsoft.com/win/2004/08/events/event\"\u003e\r\n  \u003cSystem\u003e\r\n    \u003cProvider Name=\"PowerShellCore\" Guid=\"{f90714a8-5509-434a-bf6d-b1624c8a19a2}\" /\u003e\r\n    \u003cEventID\u003e8196\u003c/EventID\u003e\r\n    \u003cVersion\u003e1\u003c/Version\u003e\r\n    \u003cLevel\u003e4\u003c/Level\u003e\r\n    \u003cTask\u003e0\u003c/Task\u003e\r\n    \u003cOpcode\u003e20\u003c/Opcode\u003e\r\n    \u003cKeywords\u003e0x0\u003c/Keywords\u003e\r\n    \u003cTimeCreated SystemTime=\"2022-05-17T20:36:36.9365122Z\" /\u003e\r\n    \u003cEventRecordID\u003e428263\u003c/EventRecordID\u003e\r\n    \u003cCorrelation ActivityID=\"{e3e592f7-c42e-4002-aff6-f1885ab8923a}\" /\u003e\r\n    \u003cExecution ProcessID=\"4056\" ThreadID=\"7144\" /\u003e\r\n    \u003cChannel\u003ePowerShellCore/Operational\u003c/Channel\u003e\r\n    \u003cComputer\u003eserver.mydomain.com\u003c/Computer\u003e\r\n    \u003cSecurity UserID=\"S-1-5-21-2147491999-1103789872-2603493700-327614\" /\u003e\r\n  \u003c/System\u003e\r\n  \u003cEventData\u003e\r\n  \u003c/EventData\u003e\r\n\u003c/Event\u003e\r\n\r\nLog Name:      PowerShellCore/Operational\r\nSource:        PowerShellCore\r\nDate:          5/17/2022 4:36:36 PM\r\nEvent ID:      8197\r\nTask Category: Connect\r\nLevel:         Verbose\r\nKeywords:      None\r\nUser:          CONTOSO\\my-adm\r\nComputer:      server.mydomain.com\r\nDescription:\r\nRunspace state changed to Opening\r\nEvent Xml:\r\n\u003cEvent xmlns=\"http://schemas.microsoft.com/win/2004/08/events/event\"\u003e\r\n  \u003cSystem\u003e\r\n    \u003cProvider Name=\"PowerShellCore\" Guid=\"{f90714a8-5509-434a-bf6d-b1624c8a19a2}\" /\u003e\r\n    \u003cEventID\u003e8197\u003c/EventID\u003e\r\n    \u003cVersion\u003e1\u003c/Version\u003e\r\n    \u003cLevel\u003e5\u003c/Level\u003e\r\n    \u003cTask\u003e1\u003c/Task\u003e\r\n    \u003cOpcode\u003e10\u003c/Opcode\u003e\r\n    \u003cKeywords\u003e0x0\u003c/Keywords\u003e\r\n    \u003cTimeCreated SystemTime=\"2022-05-17T20:36:36.7011496Z\" /\u003e\r\n    \u003cEventRecordID\u003e428262\u003c/EventRecordID\u003e\r\n    \u003cCorrelation ActivityID=\"{e3e592f7-c42e-4002-aff6-f1885ab8923a}\" /\u003e\r\n    \u003cExecution ProcessID=\"4056\" ThreadID=\"6764\" /\u003e\r\n    \u003cChannel\u003ePowerShellCore/Operational\u003c/Channel\u003e\r\n    \u003cComputer\u003eserver.mydomain.com\u003c/Computer\u003e\r\n    \u003cSecurity UserID=\"S-1-5-21-2147491999-1103789872-2603493700-327614\" /\u003e\r\n  \u003c/System\u003e\r\n  \u003cEventData\u003e\r\n    \u003cData Name=\"param1\"\u003eOpening\u003c/Data\u003e\r\n  \u003c/EventData\u003e\r\n\u003c/Event\u003e\r\n\r\nLog Name:      PowerShellCore/Operational\r\nSource:        PowerShellCore\r\nDate:          5/17/2022 4:36:36 PM\r\nEvent ID:      8195\r\nTask Category: Connect\r\nLevel:         Verbose\r\nKeywords:      None\r\nUser:          CONTOSO\\my-adm\r\nComputer:      server.mydomain.com\r\nDescription:\r\nOpening RunspacePool\r\nEvent Xml:\r\n\u003cEvent xmlns=\"http://schemas.microsoft.com/win/2004/08/events/event\"\u003e\r\n  \u003cSystem\u003e\r\n    \u003cProvider Name=\"PowerShellCore\" Guid=\"{f90714a8-5509-434a-bf6d-b1624c8a19a2}\" /\u003e\r\n    \u003cEventID\u003e8195\u003c/EventID\u003e\r\n    \u003cVersion\u003e1\u003c/Version\u003e\r\n    \u003cLevel\u003e5\u003c/Level\u003e\r\n    \u003cTask\u003e1\u003c/Task\u003e\r\n    \u003cOpcode\u003e10\u003c/Opcode\u003e\r\n    \u003cKeywords\u003e0x0\u003c/Keywords\u003e\r\n    \u003cTimeCreated SystemTime=\"2022-05-17T20:36:36.7010924Z\" /\u003e\r\n    \u003cEventRecordID\u003e428261\u003c/EventRecordID\u003e\r\n    \u003cCorrelation ActivityID=\"{e3e592f7-c42e-4002-aff6-f1885ab8923a}\" /\u003e\r\n    \u003cExecution ProcessID=\"4056\" ThreadID=\"6764\" /\u003e\r\n    \u003cChannel\u003ePowerShellCore/Operational\u003c/Channel\u003e\r\n    \u003cComputer\u003eserver.mydomain.com\u003c/Computer\u003e\r\n    \u003cSecurity UserID=\"S-1-5-21-2147491999-1103789872-2603493700-327614\" /\u003e\r\n  \u003c/System\u003e\r\n  \u003cEventData\u003e\r\n  \u003c/EventData\u003e\r\n\u003c/Event\u003e\r\n\r\nLog Name:      PowerShellCore/Operational\r\nSource:        PowerShellCore\r\nDate:          5/17/2022 4:36:36 PM\r\nEvent ID:      8194\r\nTask Category: Connect\r\nLevel:         Verbose\r\nKeywords:      None\r\nUser:          CONTOSO\\my-adm\r\nComputer:      server.mydomain.com\r\nDescription:\r\nCreating RunspacePool object \r\n \t InstanceId e3e592f7-c42e-4002-aff6-f1885ab8923a \r\n \t MinRunspaces 1 \r\n \t MaxRunspaces 1\r\nEvent Xml:\r\n\u003cEvent xmlns=\"http://schemas.microsoft.com/win/2004/08/events/event\"\u003e\r\n  \u003cSystem\u003e\r\n    \u003cProvider Name=\"PowerShellCore\" Guid=\"{f90714a8-5509-434a-bf6d-b1624c8a19a2}\" /\u003e\r\n    \u003cEventID\u003e8194\u003c/EventID\u003e\r\n    \u003cVersion\u003e1\u003c/Version\u003e\r\n    \u003cLevel\u003e5\u003c/Level\u003e\r\n    \u003cTask\u003e1\u003c/Task\u003e\r\n    \u003cOpcode\u003e16\u003c/Opcode\u003e\r\n    \u003cKeywords\u003e0x0\u003c/Keywords\u003e\r\n    \u003cTimeCreated SystemTime=\"2022-05-17T20:36:36.7005569Z\" /\u003e\r\n    \u003cEventRecordID\u003e428260\u003c/EventRecordID\u003e\r\n    \u003cCorrelation ActivityID=\"{e3e592f7-c42e-4002-aff6-f1885ab8923a}\" /\u003e\r\n    \u003cExecution ProcessID=\"4056\" ThreadID=\"6764\" /\u003e\r\n    \u003cChannel\u003ePowerShellCore/Operational\u003c/Channel\u003e\r\n    \u003cComputer\u003eserver.mydomain.com\u003c/Computer\u003e\r\n    \u003cSecurity UserID=\"S-1-5-21-2147491999-1103789872-2603493700-327614\" /\u003e\r\n  \u003c/System\u003e\r\n  \u003cEventData\u003e\r\n    \u003cData Name=\"InstanceId\"\u003ee3e592f7-c42e-4002-aff6-f1885ab8923a\u003c/Data\u003e\r\n    \u003cData Name=\"MaxRunspaces\"\u003e1\u003c/Data\u003e\r\n    \u003cData Name=\"MinRunspaces\"\u003e1\u003c/Data\u003e\r\n  \u003c/EventData\u003e\r\n\u003c/Event\u003e\r\n\r\nLog Name:      PowerShellCore/Operational\r\nSource:        PowerShellCore\r\nDate:          5/17/2022 4:36:36 PM\r\nEvent ID:      8193\r\nTask Category: Connect\r\nLevel:         Verbose\r\nKeywords:      None\r\nUser:          CONTOSO\\my-adm\r\nComputer:      server.mydomain.com\r\nDescription:\r\nCreating Runspace object \r\n \t Instance Id: e3a8b992-3755-491f-85cd-c4425679dd64\r\nEvent Xml:\r\n\u003cEvent xmlns=\"http://schemas.microsoft.com/win/2004/08/events/event\"\u003e\r\n  \u003cSystem\u003e\r\n    \u003cProvider Name=\"PowerShellCore\" Guid=\"{f90714a8-5509-434a-bf6d-b1624c8a19a2}\" /\u003e\r\n    \u003cEventID\u003e8193\u003c/EventID\u003e\r\n    \u003cVersion\u003e1\u003c/Version\u003e\r\n    \u003cLevel\u003e5\u003c/Level\u003e\r\n    \u003cTask\u003e1\u003c/Task\u003e\r\n    \u003cOpcode\u003e16\u003c/Opcode\u003e\r\n    \u003cKeywords\u003e0x0\u003c/Keywords\u003e\r\n    \u003cTimeCreated SystemTime=\"2022-05-17T20:36:36.7005390Z\" /\u003e\r\n    \u003cEventRecordID\u003e428259\u003c/EventRecordID\u003e\r\n    \u003cCorrelation ActivityID=\"{e3a8b992-3755-491f-85cd-c4425679dd64}\" /\u003e\r\n    \u003cExecution ProcessID=\"4056\" ThreadID=\"6764\" /\u003e\r\n    \u003cChannel\u003ePowerShellCore/Operational\u003c/Channel\u003e\r\n    \u003cComputer\u003eserver.mydomain.com\u003c/Computer\u003e\r\n    \u003cSecurity UserID=\"S-1-5-21-2147491999-1103789872-2603493700-327614\" /\u003e\r\n  \u003c/System\u003e\r\n  \u003cEventData\u003e\r\n    \u003cData Name=\"param1\"\u003ee3a8b992-3755-491f-85cd-c4425679dd64\u003c/Data\u003e\r\n  \u003c/EventData\u003e\r\n\u003c/Event\u003e\n```\n\n\n### Environment data\n\n```powershell\nName                           Value\r\n----                           -----\r\nPSVersion                      7.2.4\r\nPSEdition                      Core\r\nGitCommitId                    7.2.4\r\nOS                             Microsoft Windows 10.0.20348\r\nPlatform                       Win32NT\r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion      2.3\r\nSerializationVersion           1.1.0.1\r\nWSManStackVersion              3.0\n```\n\n\n### Visuals\n\n![Screenshot 2022-05-17 171359](https://user-images.githubusercontent.com/48156975/168911765-c77baffa-23be-43c8-84bf-46eb11952d92.png)\r\n","author":{"url":"https://github.com/marcgoff","@type":"Person","name":"marcgoff"},"datePublished":"2022-05-17T21:19:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":24},"url":"https://github.com/17367/PowerShell/issues/17367"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b796f218-67fc-1243-dac9-d52373a583df
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idACAA:2A81D7:73ED9F:A2CF44:696E5C44
html-safe-nonce41a4b8600357260acd6027f264132964260737ee0a12c019183d7fb563c20e82
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0FBOjJBODFENzo3M0VEOUY6QTJDRjQ0OjY5NkU1QzQ0IiwidmlzaXRvcl9pZCI6IjExNTM4NjczNzQxMzgzODM0MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb82f2ee40367ea8eca3db5ab797dad4989158ee09a6fa8300a9748b1e0f1e4d7
hovercard-subject-tagissue:1239168561
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/17367/issue_layout
twitter:imagehttps://opengraph.githubassets.com/89a1be1e61288315fae22ded185d01af67280239aab54ec4dd58b4332d1ba9d8/PowerShell/PowerShell/issues/17367
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/89a1be1e61288315fae22ded185d01af67280239aab54ec4dd58b4332d1ba9d8/PowerShell/PowerShell/issues/17367
og:image:altPrerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarcgoff
hostnamegithub.com
expected-hostnamegithub.com
Nonef68b42d371252b0f236260d6234f4304a806fe5ac43d59faa21fb59d80df103b
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6b74bc8dbcd10b5d69fd9ee9d2cfdc8b35e18a4c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues/17367#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F17367
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F17367
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues/17367
Reloadhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues/17367
Reloadhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues/17367
PowerShell https://patch-diff.githubusercontent.com/PowerShell
PowerShellhttps://patch-diff.githubusercontent.com/PowerShell/PowerShell
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.1k https://patch-diff.githubusercontent.com/login?return_to=%2FPowerShell%2FPowerShell
Star 51.2k https://patch-diff.githubusercontent.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://patch-diff.githubusercontent.com/PowerShell/PowerShell
Issues 1.2k https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues
Pull requests 212 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pulls
Discussions https://patch-diff.githubusercontent.com/PowerShell/PowerShell/discussions
Actions https://patch-diff.githubusercontent.com/PowerShell/PowerShell/actions
Projects 7 https://patch-diff.githubusercontent.com/PowerShell/PowerShell/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/PowerShell/PowerShell/security
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues/17367
Insights https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pulse
Code https://patch-diff.githubusercontent.com/PowerShell/PowerShell
Issues https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues
Pull requests https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pulls
Discussions https://patch-diff.githubusercontent.com/PowerShell/PowerShell/discussions
Actions https://patch-diff.githubusercontent.com/PowerShell/PowerShell/actions
Projects https://patch-diff.githubusercontent.com/PowerShell/PowerShell/projects
Security https://patch-diff.githubusercontent.com/PowerShell/PowerShell/security
Insights https://patch-diff.githubusercontent.com/PowerShell/PowerShell/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/17367
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/17367
JEA session configuration breaks after upgrading past 7.2.1https://patch-diff.githubusercontent.com/PowerShell/PowerShell/issues/17367#top
Area-Maintainers-Buildspecific to affecting the buildhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Area-Maintainers-Build%22
Needs-InvestigationThe behavior reported in the issue is unexpected and needs further investigation.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Investigation%22
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
WG-RemotingPSRP issues with any transport layerhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Remoting%22
WG-Securitysecurity related areas such as JEAhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Security%22
https://github.com/marcgoff
https://github.com/marcgoff
marcgoffhttps://github.com/marcgoff
on May 17, 2022https://github.com/PowerShell/PowerShell/issues/17367#issue-1239168561
latest released versionhttps://github.com/PowerShell/PowerShell/releases
FAQhttps://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md
Differences between Windows PowerShell 5.1 and PowerShellhttps://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell
https://user-images.githubusercontent.com/48156975/168911765-c77baffa-23be-43c8-84bf-46eb11952d92.png
Area-Maintainers-Buildspecific to affecting the buildhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Area-Maintainers-Build%22
Needs-InvestigationThe behavior reported in the issue is unexpected and needs further investigation.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Investigation%22
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
WG-RemotingPSRP issues with any transport layerhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Remoting%22
WG-Securitysecurity related areas such as JEAhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Security%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.