Commit Graph
14 Commits
Author SHA1 Message Date
Travis Plunk 1866438393 Merged PR 11551: Use dotnet core 3.1.202
Use dotnet core 3.1.202
2020-05-13 02:05:44 +00:00
Andrew bd91f48f66 Fix WinCompat module loading to treat Core edition modules higher priority (#12269) 2020-04-20 13:29:50 -07:00
Andrew 07221e3dc5 Miscellaneous minor updates to WinCompat (#11980)
* Filter PSModulePath when starting PS 5.1. Removing PS-Core-specific paths from PSModulePath of WinCompat process (Windows PS).
* Make implicit WinCompat respect NoClobber and Scope parameters
* Add ErrorAction.Ignore when searching for WinPSCompatSession
# Conflicts:
#	src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs
2020-04-20 13:21:23 -07:00
Andrew 7aaa54fd7c Sync current directory in WinCompat remote session (#11809)
# Conflicts:
#	src/System.Management.Automation/engine/Modules/ModuleCmdletBase.cs
2020-02-11 13:48:31 -08:00
Andrew 038adccddb Add WinCompat deny list support using a setting in powershell.… (#11726)
# Conflicts:
#	build.psm1
#	src/System.Management.Automation/engine/Modules/ImportModuleCommand.cs
2020-02-10 13:19:08 -08:00
Ilya ebf6abe294 Correct pwsh run (#11486)
# Conflicts:
#	test/powershell/Modules/Microsoft.PowerShell.Core/CompatiblePSEditions.Module.Tests.ps1
2020-02-10 13:16:15 -08:00
Andrew 463aff44e1 Mark System32-PSModulePath test as pending (#11576) 2020-01-14 12:42:53 -08:00
Andrew 65429120d9 Added setting to disable implicit WinPS module loading (#11332) 2020-01-09 15:36:12 -08:00
Andrew 2dd264af03 Added WindowsPS version check for WinCompat (#11148) 2019-12-10 16:03:52 -08:00
Andrew 28afad5a1a Fix error-reporting in some WinCompat scenarios (#11259) 2019-12-10 15:55:40 -08:00
Andrew b218e6f6cc Support using non-compatible Windows PowerShell modules in PowerShell Core (#10973) 2019-11-18 10:44:55 -08:00
Steve Lee a96b4c0404 Update use of "PowerShell Core" to just "PowerShell" (#9513) 2019-05-10 15:34:27 -07:00
Robert Holt dbdcf6e5eb Fix to not duplicate the System32 module path when starting pwsh from pwsh (#7414) 2018-08-03 11:22:30 -07:00
Robert Holt c94fc31f97 Enforce the 'CompatiblePSEditions' check for modules from the legacy 'System32' module path (#7183)
- Add `%WINDIR%\System32\WindowsPowerShell\v1.0\Modules` (Windows PowerShell $PSHOME) to the end of the default PSCore 6 module path (i.e. the module path as initially set at startup).
- Cause an error to be thrown by `Import-Module` when a module with `CompatiblePSEditions` not containing `"Core"` is being loaded from the 'System32' module path.
- Suppress output of modules listed by `Get-Module -ListAvailable` from Windows PowerShell $PSHOME when `CompatiblePSEditions` does not contain `"Core"`.
- Introduce the `-SkipCompatibilityCheck` switch parameter on both `Import-Module` and `Get-Module` to respectively allow importing incompatible modules and listing incompatible modules.
- Adds a  `PSEdition` column to the `PSModuleInfo` table view format.
- Ensures that completions are not given for incompatible modules on the System32 module path.
2018-07-16 16:58:40 -07:00