Repository navigation
Disable autoloading PSScheduledJob module from -Job cmdlets - #11194
Dongbo Wang (daxian-dbw) merged 1 commit into
Conversation
Paul Higinbotham (PaulHigin)
left a comment
There was a problem hiding this comment.
LGTM
|
I am NOT overjoyed with this being pushed out to 7.1. The experience of Preview.6 is, in my mind, not really acceptable. I favour a working solution in PWSH 7.0 RTM. |
|
Thomas Lee (@doctordns) looks like it's targeted for 7.0 RC1, so it should definitely be in the 7.0 release as well. 🙂 |
|
Rain Sallow (/u/ta11ow) (@vexx32) thanks. I just saw Ilya (@iSazonov) had marked as 7.1.0-Preview.1. IF it goes into the RCs, and thus into RTM. I'm happy. When does this make the daily build? :) |
|
I would assume it should already be in the daily builds, since it was merged to the master branch a week or so ago. 🙂 |
|
Rain Sallow (/u/ta11ow) (@vexx32), Thomas Lee (@doctordns) master branch is now 7.1, we selectively triage and approve merged PRs to be taken to rc.1 branch. This one should be in rc.1 |
|
Steve Lee (@SteveL-MSFT) |
|
🎉 Handy links: |
PR Summary
Currently all
*-Jobcmdlets try to autoloadPSScheduledJobmodule that is not PS-Core compatible, so this autoload quietly fails, so it is a waste of resources.Furthermore, this autoload of
PSScheduledJobmodule creates bad user experience whenWinCompatis enabled (see issue #11164 ).Disabling this code provides solution to both issues.
Fix #11164
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.