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. PowerShell Intellisense Broken on Windows 10 1803

    Intellisense is broken after upgrading to Windows 10 1803. Only a single white pixel is displayed.

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

    We’ll send you updates on this idea

    6 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →

    [UPDATE] Good news! This has been fixed internally already, and may already be showing up in Windows Insider builds. I don’t have an ETA for when the fix will show up for 1803, but it is on the way.

    Hey everyone,

    I’ve managed to reproduce this issue on my 1803 box, it’s definitely not awesome. Let me get an investigation going on our side to find out what’s going on.

    Thanks,
    Joey

  2. Powershell ISE crashes on Ctrl+Space Intellisense

    my "Ideas" is Powershell ISE should not crash.

    https://github.com/PowerShell/PowerShell/issues/6846

    teps to reproduce
    Use Windows Powershell ISE on Windows Build 17134
    Enter the name of any cmdlet, a dash, then press ctrl+Space.
    Get-Help -[Ctrl+Space]
    Expected behavior
    Should show intellisense popup.
    Actual behavior
    Instead of an intellisense dropdown, a small dot appears.

    Messagebox as follows, followed by closing:

    Windows PowerShell ISE - Error

    An unexpected error has occurred, and Windows PowerShell ISE must close.

    OK

    Running in the visual studio debugger shows two exceptions, one from Xaml (associated with the appearance of the dot) the other a NullReferenceException which appears to occur…

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

    We’ll send you updates on this idea

    11 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  3. snippets

    PowerShell ISE - Where are the default snippets after Win10 Upgrade?

    So I've upgraded to Win10Pro 1803 17134.1, opened my trusty PowerShell ISE, pressed CTRL+J and nothing happens!? Even the Get-ISESnippet is not showing any results. I'm using the default snippets and don't have any custom snippets under my documents / PowerShell folder.

    It seems to be related to OneDrive or Windows 10 update as both my Desktop and Laptop have the same problem.

    According to JRV the same issue occurs on 1809 builds.

    Link: https://social.technet.microsoft.com/Forums/en-US/47ded9fb-0501-4953-92cc-ef55dbf86fbe/powershell-ise-where-are-the-default-snippets-after-win10-upgrade?forum=winserverpowershell

    Best Regards,
    Glenn

    $PSVersionTable

    Name Value


    PSVersion 5.1.17134.1

    PSEdition Desktop

    PSCompatibleVersions {1.0, 2.0, 3.0,…

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

    We’ll send you updates on this idea

    19 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  4. New Verb: Deploy

    "Deploy" is a de facto PowerShell verb, as many popular official Azure PowerShell scripts already contain this verb. Considering deployments are a primary scenario for PowerShell, it would be great to add this as an official verb--especially since PSScriptAnalyzer needs to be modified to not flag Azure's official scripts.

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

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  5. Dynamic inplace syntax help without ISE

    Hi Microsoft,
    ever used to program a Switch or Router. Not only at Cisco's you can issue a ? anytime to know what you can do next, instead of browsing each command in technet or completely dump your line to enter get-help ... this is too complicated!

    ISE is a help but I don't want ISE all the time. Make your "command line" user-friendly please

    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 Engine  ·  Flag idea as inappropriate…  ·  Admin →

    Starting in PowerShell 5 (shipped with Windows 10, Windows Server 2016, and WMF 5), we included the PSReadline module by default in powershell.exe for improved usability. Based off of what you’re looking for, I’d highly recommend trying Ctrl+Space to see all available Tab completions wherever you’re at in your expression.

    Also check out the PSReadline GitHub repo for more documentation on using all of its available features: https://github.com/lzybkr/psreadline#usage

  6. 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 →
  7. PowerShell Update-Help download fails for Module Appx-6-15-2017

    PowerShell Update-Help download fails for Module Appx-6-15-2017

    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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  8. 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 →
  9. Private powershell Gallery

    Hi Guys,

    I'm looking for a solution to manage all my powershell cmdlets.
    I want to build something similar to what Microsoft is using when you type get-help cmdlet-name -online
    Can anyone advice hot to build such a solution based on private PS gallery

    Regards
    Raf

    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  ·  PowerShell Gallery  ·  Flag idea as inappropriate…  ·  Admin →

    Hi Raf – you seem to be talking about 2 things: setting up an internal PowerShell Gallery, and providing online help.

    There’s an article on how to set up an internal PowerShell Gallery (here: https://blogs.msdn.microsoft.com/powershell/2014/05/20/setting-up-an-internal-powershellget-repository/).

    The help content is not in the PowerShellGallery.
    In the module manifest there is a property called HelpInfoURI, which can specify where to get updatable help from.
    The instructions for how to deal with updatable help are in this topic: https://msdn.microsoft.com/en-us/library/hh852735(v=vs.85).aspx

  10. [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!

  11. update-help : Failed to update Help for the module(s) 'Provisioning'

    I receive the following error when running Update-Help in PowerShell.

    PS C:\WINDOWS\System32\WindowsPowerShell\v1.0\Modules\Provisioning> update-help
    update-help : Failed to update Help for the module(s) '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

    PowerShell info:
    PS C:> $PSVersionTable.PSVersion

    Major Minor Build Revision


    5 1 15063 138

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

    We’ll send you updates on this idea

    completed  ·  10 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  12. -format not working with concatenated string

    The format (-f) command does not replace a token if the token is in a string followed by another concatenated string, if the -f is executed when the string is defined. Reproduced on PowerShell v4 and v5.
    Example:
    $concat = "select * from '{0}'" + " stringpart2" -f 'tab1'
    $concat

    Result:
    select * from '{0}' stringpart2

    However if -f is applied after the concatenation, it works correctly.
    Example:
    $concat = "select * from '{0}'" + " stringpart2"
    $concat -f 'tab1'

    Result:
    select * from 'tab1' stringpart2

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  13. Add a new cmdlet - Add-Archive

    I would like to suggest a new cmdlet, Add-Archive. This new cmdlet would add files into an existing Archive.

    Syntax would look like:

    Add-Archive [-Path] <String[]> [-DestinationPath] <String> [-CompressionLevel {Optimal | NoCompression |
    Fastest}] [-Recurse]
    [-Confirm] [-Force] [-WhatIf] [<CommonParameters>]

    This would take an array of paths and files and adds them to an existing or new archive.

    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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  14. Invoke-WebRequest should support -NoProxy parameter

    Invoke-WebRequest picks up the system proxy defined in Internet Options by default. It also includes parameters -Proxy, -ProxyCredentials and -ProxyUseDefaultCredentials for changing and managing the proxy that it uses.

    It would be very useful to have a -NoProxy parameter that forced a direct web connection. Currently, when this is required, the system proxy has to be disabled.

    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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  15. 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 →
  16. Get-ComputerInfo: Property BiosSeralNumber is spelled wrong...should be BiosSerialNumber

    Get-ComputerInfo: Property BiosSeralNumber is spelled wrong...should be BiosSerialNumber

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  17. Bug with System.IO.FileInfo arrays

    When trying to join arrays of FileInfo objects, if the first array contains only one element, the following error occurs.

    Method invocation failed because [System.IO.FileInfo] does not contain a method named 'op_Addition'.
    At line:1 char:1
    + $stuff + $stuff1
    + ~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (op_Addition:String) [], RuntimeException
    
    + FullyQualifiedErrorId : MethodNotFound

    It works as expected as long as the first array contains more than 1 element. See example below:

    PS C:\Scripts> $stuff

    Directory: C:\Scripts
    

    Mode LastWriteTime Length Name


    -a---- 10/3/2016 2:01 PM 58 LaunchUpdateAllSubversionWorkingCopies.bat

    PS C:\Scripts> $stuff1

    Directory: C:\Scripts
    

    Mode LastWriteTime Length Name


    -a---- 10/26/2016 1:19 PM 140 DropConnections.sql …

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  18. 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 →
  19. JEA Session Type 'default' with error

    Jea causes an error when you choose 'Default' in SessionType.

    Example of PSSC configuration file :
    SessionType = 'Default'

    PS E:\JEA> $userbase = Get-Credential
    Enter-PSSession -ComputerName localhost -ConfigurationName JEASession1 -Credential $userbase
    cmdlet Get-Credential at command pipeline position 1
    Supply values for the following parameters:
    Enter-PSSession : The term 'Measure-Object' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:2 char:1
    + Enter-PSSession -ComputerName localhost -ConfigurationName JEASession ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

    We’ll send you updates on this idea

    completed  ·  4 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  20. MSFT_WebDownloadManager issue

    Hi there,
    Please advise on the following failure I am facing while trying to apply DSC changes on the remote machine:
    "
    PS C:\Windows\system32> Set-DscLocalConfigurationManager -Path .\LCMPullMode
    Undefined class: MSFT_WebDownloadManager
    At line:15, char:2
    Buffer:
    Connection = True;
    };^
    ins

    + CategoryInfo          : SyntaxError: (root/Microsoft/...gurationManager:String) [], CimException
    
    + FullyQualifiedErrorId : MiClientApiError_Failed
    + PSComputerName : be-lab-v17

    "

    Thanks in advance,
    Ofer

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

    We’ll send you updates on this idea

    completed  ·  2 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
← Previous 1 3 4 5 6
  • Don't see your idea?

Feedback and Knowledge Base