| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
There is no test associated with this fix because we have not ported implicit remoting tests yet. |
Sorry, something went wrong.
|
Paul Higinbotham (@PaulHigin) we have implicit remoting tests at https://github.com/PowerShell/PowerShell/blob/master/test/powershell/Modules/Microsoft.PowerShell.Utility/Implicit.Remoting.Tests.ps1 |
Sorry, something went wrong.
|
Dongbo Wang (@daxian-dbw) Thanks!, I didn't realize these tests were ported. I'll create a test for this fix. |
Sorry, something went wrong.
|
|
||
| if ($originalDefaultParameters -ne $null) | ||
| { | ||
| $PSDefaultParameterValues = $originalDefaultParameters |
There was a problem hiding this comment.
Should be $global:PSDefaultParameterValues = $originalDefaultParameters. Otherwise, you are just defining a variable in the local scope.
Sorry, something went wrong.
|
restarted AppVeyor CI due to MyGet failure |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Issue #4195
PowerShell 5.1 Get-FormatData has a new required parameter (PowerShellVersion) which was not included in restricted sessions. So Import-PSSession fails when trying to use the parameter.
Fix is to add this parameter to the restricted session Get-FormatData proxy function.
Repro: