Please feel free to provide feedback or file bugs here.

BUG: binary module loading fails silently on Fall Creators update on some machines

occurs in PS 5.1 on Windows 10, Fall Creators update
First observed with SqlServer module 21.0.17199
Also occurs with PsWindowsUpdate v2.0.0.0 , SqlServer 21.0.17224

Pretty much what it says - with either autoload or Import-Module, the module loads with no complaints but the cmdlets aren't there. The assemblies _do_ get loaded into the appdomain. I found no obvious clues poking around with ProcMon and Trace-Command (obvious to me, anyway). Happens on some machines, not others. Reported by 3 users (that I know of), in each case after updating to the Fall Creators update. If you have any debugging hints, they'd be appreciated.

Originally reported here: https://www.powershellgallery.com/packages/SqlServer/21.0.17199#lf-content=193467826:746604807
PsWindowsUpdate issue reported here: https://www.powershellgallery.com/packages/SqlServer/21.0.17199#lf-content=193467826:755426344
Possibly related to: https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/11088816-cannot-build-a-binary-module-referencing-3-0-sma-d ??

4 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    unbob shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    6 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base