| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Is this needed for GA? |
Sorry, something went wrong.
|
PoshChan-Bot (@PoshChan) Please remind me in 1 day |
Sorry, something went wrong.
|
Codacy issue Make 'IsModuleInDenyList' a static method is wrong as it doesn't detect a call to non-static WriteError. |
Sorry, something went wrong.
|
Paul Higinbotham (@PaulHigin) Can you update your review? |
Sorry, something went wrong.
|
Travis Plunk (@TravisEz13), this is the reminder you requested 1 day ago |
Sorry, something went wrong.
|
My earlier comment may have gotten buried - the WSUS module should be added to the WInCompat deny list. |
Sorry, something went wrong.
There was a problem hiding this comment.
Pending adding UpdateServices module to the list
Sorry, something went wrong.
…/PowerShell into WinCompatModuleDenyList
|
Steve Lee (@SteveL-MSFT) Please update your review? |
Sorry, something went wrong.
|
PoshChan-Bot (@PoshChan) Please remind me in 1 hour |
Sorry, something went wrong.
There was a problem hiding this comment.
One NIT
Sorry, something went wrong.
|
Travis Plunk (@TravisEz13), this is the reminder you requested 1 hour ago |
Sorry, something went wrong.
|
PoshChan-Bot (@PoshChan) Please remind me in 1 hour |
Sorry, something went wrong.
|
Travis Plunk (@TravisEz13), this is the reminder you requested 1 hour ago |
Sorry, something went wrong.
…rShell#11726) # Conflicts: # build.psm1 # src/System.Management.Automation/engine/Modules/ImportModuleCommand.cs
|
🎉v7.0.0-rc.3 has been released which incorporates this pull request.:tada: Handy links: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
Some Windows PowerShell modules don't work well with de/serialized objects, so they can not be used with WinCompat.
This PR adds support for an optional WindowsPowerShellCompatibilityModuleDenyList setting (a string array) in powershell.config.json so that a user can prevent specified modules from being loaded using WinCompat.
If WinCompat feature is enabled and it tries to load a module mentioned in the DenyList, then an error is generated.
Module name comparison is case-insensitive.
By default, in PowerShell packages for Windows OS, this setting will contain PSScheduledJob,BestPractices and UpdateServices modules (this list most likely will be extended in future).
Fix #11687
PR Checklist