PowerShell

The PowerShell forum accepts bug reports as well as feedback and suggestions. For more information, check out the PowerShell Homepage

The following is a list of the states we use to track items.

status meaning
survey We saw this and we are considering it. Please upvote if it’s important to you.
needs more information We don’t understand the issue and need additional details.
investigating We are looking at this internally to understand things like: scenario, reproduction of issue, costing, or other technical details.
in queue The issue is understood and in our unprioritized backlog. Your votes will be used to drive prioritization of this work.
  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. WMF 5.0 incompatibilities still valid for WMF 5.1?

    WMF 5.1 download page has a warning that heads to this site:

    https://msdn.microsoft.com/en-us/powershell/wmf/5.0/productincompat

    Are the listed incompatibilities still valid for 5.1, as only 5.0 is named here.

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

    We’ll send you updates on this idea

    6 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  2. Error in topic about_Pipelines under INVESTIGATING PIPELINE ERRORS

    The example command given under "INVESTIGATING PIPELINE ERRORS" in the about_Pipelines help topic is incorrrect. the example situation is moving a registry entry from one key to another, in the example it's trying to move the entry "product" from the hklm:\software\mycompany\design registry key to the hklm:\software\mycompany\sales key. The second ("fixed") command at the end:

    get-item -path hklm:\software\mycompany\design |
    
    move-itemproperty -dest hklm:\software\mycompany\design -name product

    should be:

    get-item -path hklm:\software\mycompany\design |
    
    move-itemproperty -dest hklm:\software\mycompany\sales -name product

    I also think the source and destination seem switched or misplaced throughout that section of the topic, unrelated to the example error given for the purpose…

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

    We’ll send you updates on this idea

    0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  3. Gallery help site needs new capability

    The documentation site need a menu or link item to quickly switch versions of a help topic. Like the old MSDN site.

    Example Site topic: https://msdn.microsoft.com/powershell/reference/5.1/Microsoft.PowerShell.Utility/Read-Host

    The version access is important for support issues to be able to quickly switch versions as the "-online" with help always targets the current version or nothing.

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

    We’ll send you updates on this idea

    completed  ·  2 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  4. [BUG] about_PSReadline is included in WMF 5.1 for Windows 7, causes help topic conflicts

    The about_PSReadline helpfile for Windows 10 is included in the WMF 5.1 distribution for Windows 7 even though PSReadline is not. It can be found alongside other system helpfiles in:

    %WINDIR%\System32\WindowsPowerShell\v1.0\en-US\about_PSReadline.help.txt

    If PSReadline is subsequently installed from the PowerShell Gallery this remnant—which is identical in name, category, and associated module—will be considered a duplicate and prevent Get-Help from displaying help for the about_PSReadline topic.

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

    We’ll send you updates on this idea

    0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →

    My apologies from before: we did in fact intend to de-couple PSReadline from WMF. I didn’t have all the context from when we released the package (you’re doing exactly the right by installing PSReadline from the Gallery.

    We actually fixed this bug in PowerShell 6.0 so that you can disambiguate on duplicate txt files, but the fix will not be finding its way back to Windows PowerShell 5.×.

    You can get around the duplicate issue with the following workaround:
    Get-Help about_PSReadline | Select-Object -First 1 | Get-Help

    Sorry about that, and thanks for the report!

  5. Update-Help: Failed to update Help for the module(s) 'NetworkControllerDiagnostics'

    The following error show up when executing 'Update-Help -force':
    PS C:\WINDOWS\system32> Update-Help -Force
    Update-Help : Failed to update Help for the module(s) 'NetworkControllerDiagnostics, Provisioning' with UI culture(s)
    {en-US} : Unable to retrieve the HelpInfo XML file for UI culture en-US. Make sure the HelpInfoUri property in the
    module manifest is valid or check your network connection and then try the command again.
    At line:1 char:1
    + Update-Help -Force
    + ~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
    
    + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand

    PS C:\WINDOWS\system32> $PSVersionTable

    Name Value


    PSVersion 5.1.15048.0
    PSEdition Desktop
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
    BuildVersion 10.0.15048.0
    CLRVersion 4.0.30319.42000
    WSManStackVersion…

    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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  6. Core help files (as of 2016-11-08) have broken text formatting

    Helpfiles for most about topics (with random exceptions), when updated (and file name corrected -- see bottom), change text formatting to a strict all-lines-that-are-not-headers-get-indented-four-spaces. This makes many files look completely ugly and broken. Here is an example from aboutExecution_Policies as viewed in PowerShell help between two different versions of the file:

    9-30-2016:

    USE GROUP POLICY TO MANAGE EXECUTION POLICY

    ------------------------------------------- You can use the "Turn on Script
    
    Execution" Group Policy setting to manage the execution policy of computers
    in your enterprise. The Group Policy setting overrides the execution
    policies set in Windows PowerShell in all scopes.
    The "Turn on
    2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    5 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
    completed  ·  Zachary Alexander responded

    This should be fixed. Open PS as administrator and run update-help -force . if that does not resolve the issue, please let me know and i’ll revert the “completed” status.

  7. Small typo in gci help

    Hello,

    there is a small typo in the help of gci for the attibute "-LiteralPath"
    It says it " Specifies, as a string arrya," instead of array .

    I know it's a small one, but it kind of helps to make Powershell even better

    Best regards

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

    We’ll send you updates on this idea

    2 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  8. Help for -UseTransaction is broken

    I've see help documentations for several cmdlets like Move-Item, Copy-Item, Set-Acl, etc. and their "-UseTransaction" help is broken it reads:
    "Includes the command in the active transaction. This parameter is valid only when a transaction is in progress. For more information, see [Repetition of the same]"

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

    We’ll send you updates on this idea

    0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  9. PowerShell 5 on Windows 10/Server 2012 HelpFiles are incomplete

    Get-Help -Category HelpFile does not return the full list of topics available here: https://technet.microsoft.com/en-us/library/hh847856.aspx

    This issue is present on clean installs of Windows 10/Server 2012 and there does not appear to be a way of rectifying the issue (Update-Help -Force, Save-Help from other machine, Reset This PC have all been tried).

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

    We’ll send you updates on this idea

    5 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
    completed  ·  Zachary Alexander responded

    This should be fixed. Open PS as administrator and run update-help -force . if that does not resolve the issue, please let me know and i’ll revert the “closed” status.

  10. ConvertFrom-String example 5 is wrong

    Example #5 for the ConvertFrom-String cmdlet is wrong.
    It states that it will generate an object with default property names and with the specified property types (string and integer), but it is the same as example #4 (just the property names)

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

    We’ll send you updates on this idea

    0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  11. Firewall Rules Documentation on website

    Im working in an environment with strict firewall policies, I'm struggling to find any information on ports used to execute commands such as install-module...

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

    We’ll send you updates on this idea

    0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →

    There are 3 basic elements for PowerShell remote access today:
    1. WinRM, which is the basis for PowerShell remoting. There’s a good article here: https://blogs.technet.microsoft.com/christwe/2012/06/20/what-port-does-powershell-remoting-use/
    2. HTTP/HTTPS – this is the vast majority of other remoting. Install-Module, PackageManagement, Invoke-RestMethod, etc. all go over standard internet ports, and generally default to HTTPS.
    3. DCOM ports can specified for CIM-based cmdlets, but it is not the default. You can find out which modules support this option by searching for *.ps1xml in C:\Windows\System32\WindowsPowerShell\v1.0\. Again, that’s not the default.

    Hope this resolves the question.

  12. Get-Help -Online in 5.0 opens core cmdlet help for 4.0

    For the core modules in PowerShell 5.0, Get-Help -Online opens the help for PowerShell 4.0, not for PowerShell 5.0. Typically, -online gets help for the latest version of the module by default.

    For example: Get-Help Import-Module -Online
    ...opens "https://technet.microsoft.com/library/af616c24-e122-4098-930e-1e3ea2080ade(v=wps.630).aspx", the 4.0 version of help.

    That's because the first related link in the XML help topic has the FWLink for the 4.0 topic.

    I suspect this is a bug caused by an incomplete understanding of how -Online works. The tool (or person?) that was supposed to update the links for 5.0 didn't know how it worked and updated only…

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

    We’ll send you updates on this idea

    0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  13. Provider help is missing from PowerShell 5.1

    The ProviderHelp section of the System.Management.Automation.dll-help.xml file is missing from PowerShell 5.1 and later versions of PowerShell 5.0., including 5.0.10586.494.

    As a result, users can't get help for the core providers (except for the certificate provider, which is in the security file), and help is missing for all of the dynamic parameters that the providers add to the cmdlets.

    Also, the Security help file has the provider help section, so Get-Help Certificate works, but even though it has the CmdletHelpPaths section, it is not working (not sure why), so there is no help for the dynamic parameters that the Certificate…

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

    We’ll send you updates on this idea

    1 comment  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
    completed  ·  Zachary Alexander responded

    Fixed and validated on 5.1 / Win10. Thanks for the report, please let me know if any issues remain.

  14. Have separate about_Classes and about_DSC_Classes

    The aboutClasses help file should not have any DSC class information except for a "See Also" reference to a separate aboutDSC_Classes, which will of course have lots of details for DSC.

    This will help combat the perception that PowerShell classes are not "real" classes for serious programmers, and that PowerShell classes were not added just for the sake of supporting DSC.

    The about_Classes file should be further fleshed out so that C#, Java and Python developers will know what to (not) expect when using PowerShell classes.

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

    We’ll send you updates on this idea

    0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  15. Help for Get-ChildItem does not document the new -Depth parameter

    I am running PS Version 5.0.10586.122, and ran Update-Help (as Administrator) and the documentation for Get-ChildItem still does not include the -Depth parameter, which i read about in another MSDN page here: https://msdn.microsoft.com/en-us/powershell/wmf/feedback_getchilditem

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

    We’ll send you updates on this idea

    0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  16. 1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  17. about_Escape_Characters doesn't mention syntax requirements

    Please mention that, when using a backtick as a continuation character, there must be no trailing space (or it escapes the space) and there must be a preceding space or the preceding token must be enclosed.

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

    We’ll send you updates on this idea

    0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  18. A revolutionary idea! Actually fill out your own documentation!

    https://technet.microsoft.com/en-us/library/mt426620.aspx

    Working with Windows PowerShell

    Updated: August 9, 2012
    Insert introduction here.
    Section Heading
    Insert section body here.
    Subsection Heading
    Insert subsection body here.

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

    We’ll send you updates on this idea

    0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  19. Online help for Get-Clipboard and Set-Clipboard on PS5 is not available

    [PS5.0.10586.51 running on Windows 7 SP1]

    'get-help get-clipboard -online' links to https://technet.microsoft.com/library/cc732148.aspx

    The title of that page is "Windows Server Future Resources" (???)

    It contains "The document that you are attempting to access is not available yet. "

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

    We’ll send you updates on this idea

    1 comment  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base