J. Keith Bankston [MSFT]

My feedback

  1. 1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  PowerShell » Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
    J. Keith Bankston [MSFT] commented  · 

    With the information provided, it appears you have lost the Modules folder under Windows\System32. The proper way to restore any component of Windows (including PowerShell) is documented here: https://support.microsoft.com/en-us/help/12415/windows-10-recovery-options

    One bit of confusion I'd like to clear up: The primary version of PowerShell you are running (5.1.15063.786) is not something that can be disabled using the "Windows Feature" UI. You can only activate/de-activate the legacy version of PowerShell (version 2) in control panel.

  2. 9 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    5 comments  ·  PowerShell » Package Management  ·  Flag idea as inappropriate…  ·  Admin →

    The issues you have encountered can be frustrating, sorry that is the case for you.

    Moving this to Survey to try to gauge the scope of the problem for users generally.

    We are somewhat limited by security requirements: what ships with Windows will always be tagged so that nothing can replace it easily unless it is signed by Microsoft. While Pester is part of Windows, it is not owned or developed by Microsoft, so updates delivered via the Gallery cannot be Microsoft signed.

    Once the Gallery version is installed on a system, -SkipPublisherCheck is no longer required for future updates. That first experience, however, is bad.

    This leaves us with a dilemma: do we stop shipping Pester in with PowerShell in the future, or do we continue to provide the feature set knowing users who update from the Gallery will encounter these issues?

    Looking for feedback from as many users…

    J. Keith Bankston [MSFT] commented  · 

    Thanks for the feedback, we are listening.
    It's both an unfortunate and required limitation that things installed using Trusted Installer are extremely difficult to change by anything else. The approach Trusted Installer uses is built into Windows. There are changes that are happening to how Windows setup works, albeit slowly.

    We did discuss not including Pester in the product, but the reported value of having it be present currently outweighs the number of issues that are being reported.

  3. 5 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  PowerShell » Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
    J. Keith Bankston [MSFT] commented  · 

    The only way to acquire content from the Gallery is using PowerShellGet module, which does require PS3 or above, and then internet access to get to the Gallery. PowerShellGet does more than copy, it also performs certain validation actions, and ensures all dependencies are also downloaded.
    If you can get to a system that meets those requirements, use Save-Module to put the module you want, and all of its dependencies, into a folder on that system. That folder can then be zipped up, or xcopied, to a folder listed in the PSModulePath of the system where the code will be used.

  4. 1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  PowerShell » Documentation  ·  Flag idea as inappropriate…  ·  Admin →
    J. Keith Bankston [MSFT] commented  · 

    FYI: this is being tracked in the GitHub issue: https://github.com/PowerShell/PowerShell-Docs/issues/1369

  5. 12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    5 comments  ·  PowerShell » WinRM  ·  Flag idea as inappropriate…  ·  Admin →

    This report is a bit confusing, so need some information.
    On the system where you received this error, please try running any of the commands from Microsoft.PowerShell.Utility, such as get-member, or get-date. The error message and the information you provided seems to indicate that the module is already loaded, so we are looking for other indications that it is not.

    J. Keith Bankston [MSFT] commented  · 

    Updating status - The information you added was appreciated, do not have an answer, but we are investigating this.

  6. 6 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    survey  ·  0 comments  ·  PowerShell » PowerShell Gallery  ·  Flag idea as inappropriate…  ·  Admin →
    J. Keith Bankston [MSFT] supported this idea  · 
  7. 1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    5 comments  ·  PowerShell » ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →

    Either I’m unable to repro this, or I am missing the issue. I get consistent output between the ISE and standard PS shell.

    Can you provide the following, please, so I can understand it better:
    > Copy & paste the output of the standard shell & the ISE for this command. Don’t worry that it doesn’t look right in this editor, I’ll convert it to a non-proportional font to understand it.
    > In one of the windows, run $psversiontable, and include that in the output.

    One last request – can you try replacing Get-WMIObject with Get-CimInstance & see if it does the same thing? The -WMI cmdlets have been replaced with the largely equivalent -Cim cmdlets for a while, and you should really be using the newer cmdlets.

    J. Keith Bankston [MSFT] commented  · 

    Hi Fred - turns out this is harder to understand using the text output this way. Please contact me using keithb@microsoft.com, if you are willing.
    The one thing I can see - the elipsis in the output from ISE indicates that the screen width for the ISE window prevented you from displaying the same output. Can you confirm that the command add-on window is closed, and that the width of the 2 output display areas (the standard PS prompt and the output window in the ISE) match? Alternatively, it may be easier to set the font temporarily to a smaller size in both views, so that the same number of columns can be displayed.
    If you can, do a screen capture & send me the jpgs using the email address above. I'll respond to you offline. Thank you.

  8. 1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    survey  ·  3 comments  ·  PowerShell » WinRM  ·  Flag idea as inappropriate…  ·  Admin →
    J. Keith Bankston [MSFT] commented  · 

    I would like to re-name this item to focus on the request for a way to determine if servicing is underway. This seems like it could be achievable, & I would mark it as a Survey item to gauge interest.

    The recommendation to block WinRM during servicing would result in some very bad behaviors, particularly during a rollback. That particular request would have to be declined.

    If this is OK, pls reply or simply modify the title.

  9. 7 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    survey  ·  5 comments  ·  PowerShell » Package Management  ·  Flag idea as inappropriate…  ·  Admin →
    J. Keith Bankston [MSFT] commented  · 

    As an FYI (not disagreeing with the feedback, just providing information) what this command does today is to always place all the required modules in the same path you save the script to. It won't install the modules, but does do a save, as per Save-Module.
    Awaiting feedback from others on this item.

  10. 24 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    6 comments  ·  PowerShell » Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
    J. Keith Bankston [MSFT] commented  · 

    Balancing what is in Windows and what is in the Gallery is hard. It would help us to understand why having this in the OS is so much better than having it in the Gallery.

    What would help is to understand why installing the Posh-SYSLOG module from the Gallery is not meeting the need. Merging things into the Windows OS has some big implications, so we are trying to strike the balance. Additional information will help.

  11. 31 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  PowerShell » ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
    J. Keith Bankston [MSFT] commented  · 

    Moving under the PowerShell area

  12. 47 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    planned  ·  15 comments  ·  PowerShell » Package Management  ·  Flag idea as inappropriate…  ·  Admin →
    J. Keith Bankston [MSFT] commented  · 

    Thanks for filing this. It seems related to this item: https://windowsserver.uservoice.com/admin/forums/301869-powershell/suggestions/11678499-register-psrepository-fails-against-authenticated, which we are also taking a look at.

Feedback and Knowledge Base