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 5.0 for Windows 7 does not support syntax highlighting + checking

    The latest build of PS5 in Windows 10 build 10586.36 supports syntax highlighting + checking in the command-line host (powershell.exe).

    This is not the case in powershell.exe 5.0.10586.51 for Windows 7

    Is this a temporary limitation?

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  2. Get-Clipboard returns one object too many in PS5.0

    If I copy three rows of text from Notepad or Excel into the clipboard, Get-Clipboard returns an array of four strings, instead of three.

    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 →
  3. Scripts need better isolation from the user's global session state

    Votes from Connect: 4

    Original Date Submitted: 11/28/2015 5:59:49 AM

    Description:
    Contact Information
    Handle: Keith Hill MVP
    Site Name: PowerShell
    Feedback ID: 2065573


    Problem Description:
    Right now it is too hard to write a 100% reliable script that can run in any particular user's PowerShell console. The crux of the problem is that global session state is so varied amongst individual users it is hard to anticipate all possibilities such as:

    •Command proxies
    •Imported (auto or explicit) modules that implement the same named command (but semantically different)
    •Redirected aliases
    •Defined variables you weren't expecting to be defined
    •Removed globals you…

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  4. Update-Help : Failed to update Help for the module(s) 'ConfigCI' with UI culture(s) {en-US}

    Votes from Connect: 3

    Original Date Submitted: 11/26/2015 2:36:27 AM

    Description:
    Contact Information
    Handle: Firgeis
    Site Name: PowerShell
    Feedback ID: 2057856


    Frequency: Always Happens
    Regression: I do not know if this issue existed previously

    Problem Description:

    PS C:\Users\Administrator> Update-Help
    Update-Help : Failed to update Help for the module(s) 'ConfigCI' with UI culture(s) {en-US} : The
    HelpInfoUri key in the module manifest must resolve to a container or root URL on a website where
    stored. The HelpInfoUri 'https://technet.microsoft.com/library/cc732148.aspx' does not resolve to
    At line:1 char:1
    + Update-Help
    + ~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [Update-Help], Exception
    
    + FullyQualifiedErrorId :
    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 →
  5. PowerShell ISE should support F12 for Save-as

    Votes from Connect: 4

    Original Date Submitted: 11/17/2015 1:17:48 AM

    Description:
    Contact Information
    Handle: Stephen Owen
    Site Name: PowerShell
    Feedback ID: 2024431


    Problem Description:
    F12 Save-as is a standard shortcut across windows (Notepad, MSPaint, etc). I think PowerShell ISE should maintain this standard as well.

    Product Studio item created by Connect Synchronizer due to creation of feedback ID 2024431 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=2024431).

    Repro Steps:

    Internal BugId: 15980

    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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  6. Add a new $PSModule standard variable

    Votes from Connect: 11

    Original Date Submitted: 11/16/2015 11:31:50 PM

    Description:
    Contact Information
    Handle: Stephen Owen
    Site Name: PowerShell
    Feedback ID: 2024074


    Problem Description:
    I find it very tiresome to have to specify $env:ProgramFiles\WindowsPowerShell\Modules in all of my modules. What a pain in the butt!

    Why not add a new standard variable called $PSModulePath or something similar, to make this automatic?

    Product Studio item created by Connect Synchronizer due to creation of feedback ID 2024074 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=2024074).

    Repro Steps:

    Internal BugId: 15978

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  7. New #requires parameters: -DotSource/-CallOperator, to allow script authors to indicate how the script must be invoked

    Votes from Connect: 8

    Original Date Submitted: 11/5/2015 5:13:13 AM

    Description:
    Contact Information
    Handle: Kirk Munro
    Site Name: PowerShell
    Feedback ID: 1981963


    Problem Description:
    Scripts are designed to be either dot-sourced, called, or much less often, both. Yet the vast majority of scripts out there don't have anything in place to make sure that they were invoked the right way. This can lead to a lot of confusion for script consumers that could be easily avoided.

    I would like to see the #requires statement expanded with the addition of two new parameters: -DotSource and -CallOperator. When a script is invoked,…

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  8. Bug Get-Help Get-Help -Full

    Votes from Connect: 1

    Original Date Submitted: 8/19/2015 6:21:37 PM

    Description:
    Contact Information
    Handle: H_Ski
    Site Name: PowerShell
    Feedback ID: 1686799


    Frequency: Documentation
    Regression:

    Problem Description:
    PSv4 and PSv5 with updated help (2015-august-19):

    .Input says: You can not pipe objects to Get-Help
    BUT
    Get-Help Get-Help -parameter name says: Accept pipeline input? true (ByPropertyName)

    In v5 if you do get-help get-help -full help for gcm and get-item also shows up.

    Product Studio item created by Connect Synchronizer due to creation of feedback ID 1686799 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1686799).

    Repro Steps:
    Expected Results:

    Internal BugId: 15748

    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 →
  9. Powershell 5 enum definitions

    Votes from Connect: 3

    Original Date Submitted: 8/11/2015 6:16:25 PM

    Description:
    Contact Information
    Handle: SamiKoskivaara
    Site Name: PowerShell
    Feedback ID: 1654123


    Frequency: PowerShell
    Regression: Create two enums, explicitly define a variable to have named enum type, assign value to that variable from another enum type. It does not give an error message that the value is not from the right enum type.

    Problem Description:
    If I define two enums 'Size' and 'PizzaType'

    Enum Size {

    Small
    
    Medium
    Large

    }

    Enum PizzaType {

    Margherita
    
    Vegetariana
    Peperoni

    }

    and then I want to explicitly say that my variable $a is [PizzaType] it…

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  10. Invoke-WebRequest doesn't work with protocol-relative URLs

    Votes from Connect: 4

    Original Date Submitted: 7/8/2015 11:36:23 AM

    Description:
    Contact Information
    Handle: Trevor Sullivan [MVP]
    Site Name: PowerShell
    Feedback ID: 1519608


    Frequency: PowerShell
    Regression: 1. Use the Invoke-WebRequest command to call a protocol-relative URL
    2. Exception occurs: "iwr : Invalid URI: The hostname could not be parsed."

    Problem Description:
    Invoke-WebRequest doesn't work with protocol-relative URLs.

    http://www.paulirish.com/2010/the-protocol-relative-url/

    Product Studio item created by Connect Synchronizer due to creation of feedback ID 1519608 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1519608).

    Repro Steps:
    1. Use the Invoke-WebRequest command to call a protocol-relative URL
    2. Exception occurs: "iwr : Invalid URI: The hostname could not be parsed."

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  11. Registering an internal repository with PowerShellGet requires an internet connection

    Votes from Connect: 7

    Original Date Submitted: 7/7/2015 11:40:08 PM

    Description:
    Contact Information
    Handle: bobdean
    Site Name: PowerShell
    Feedback ID: 1518092


    Problem Description:
    PS C:> Register-PSRepository -Name InternalNuget -SourceLocation https://nexussrv1/service/local/nuget/nuget-releases/
    -InstallationPolicy Trusted -PublishLocation https://nexussrv1/service/local/nuget/nuget-releases/
    WARNING: Unable to download the list of available providers. Check your internet connection.

    Servers should not require administrators to set proxy settings that enable internet connectivity to leverage an internal NuGet based repository - even if it is only a one time event.

    Product Studio item created by Connect Synchronizer due to creation of feedback ID 1518092 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1518092).

    Repro Steps:

    Internal BugId: 15630

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  12. Help missing for Configuration as a keyword or function

    Votes from Connect: 3

    Original Date Submitted: 6/29/2015 1:59:05 AM

    Description:
    Contact Information
    Handle: June Blender
    Site Name: PowerShell
    Feedback ID: 1483941


    Frequency: Documentation
    Regression:
    PS C:\ps-test> get-help Configuration

    NAME

    Configuration
    

    SYNTAX

    Configuration [[-ModuleDefinition] <Object>] [[-ResourceDefinition] <Object>] [[-OutputPath] <Object>] [[-Name] <Object>]
    
    [[-Body] <scriptblock>] [[-ArgsToBody] <hashtable>] [[-ConfigurationData] <hashtable>] [[-InstanceName] <string>]
    [<CommonParameters>]

    ALIASES

    None
    

    REMARKS

    Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
    
    -- To download and install Help files for the module that includes this cmdlet, use Update-Help.

    PS C:> Get-Help aboutLanguageKeywords | Out-String -Stream | Select-String Configuration
    PS…

    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 →
  13. WMF5 April PowerShellGet Publish-Module NuGetAPIKey is Mandatory

    Votes from Connect: 3

    Original Date Submitted: 6/9/2015 1:49:33 AM

    Description:
    Contact Information
    Handle: Joel 'Jaykul' Bennett
    Site Name: PowerShell
    Feedback ID: 1413156


    Frequency: PowerShell
    Regression: Register-PSRepository -Name LocalFolder -Source "$Pwd" -Publish "$Pwd"
    Publish-Module -Name C:\Users\Joel\Projects\Modules\Autoload -Repository LocalFolder -NuGetApiKey (Get-Random)

    Problem Description:
    The NuGetApiKey should not be mandatory on Publish Module, because it's not actually mandatory.

    For instance, if I'm publishing to a local folder, I don't need to specify a key!

    Product Studio item created by Connect Synchronizer due to creation of feedback ID 1413156 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1413156).

    Repro Steps:
    Register-PSRepository -Name LocalFolder -Source "$Pwd" -Publish "$Pwd"
    Publish-Module -Name…

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  14. ISE Intellisense for class constructor not shown until class is imported

    Votes from Connect: 4

    Original Date Submitted: 6/6/2015 6:28:35 AM

    Description:
    Contact Information
    Handle: Trevor Sullivan [MVP]
    Site Name: PowerShell
    Feedback ID: 1404037


    Frequency: PowerShell ISE
    Regression:

    Problem Description:
    The PowerShell ISE doesn't show Intellisense for a user-defined class constructor (new() method) until the class has been imported into the PowerShell session.

    Product Studio item created by Connect Synchronizer due to creation of feedback ID 1404037 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1404037).

    Repro Steps:
    Expected Results:

    Internal BugId: 14548

    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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  15. Wildcard in registry path causing high cpu / long enumeration

    Votes from Connect: 3

    Original Date Submitted: 5/23/2015 6:40:05 AM

    Description:
    Contact Information
    Handle: jskiba
    Site Name: PowerShell
    Feedback ID: 1357781


    Frequency: PowerShell
    Regression: within powershell console

    navigate to "HKLM:\SOFTWARE\Classes*"
    run "gci" to find an available subkey name (eg: "OpenWithList")
    run "get-acl .\OpenWithList
    Verify CPU load time, and registry enumeration via procmon

    Problem Description:
    The asterisk “” character is valid as a registry key name. When navigating to the path “HKLM:\SOFTWARE\Classes*” and attempting to query ACL for values such as those in “HKLM:\SOFTWARE\Classes*\OpenWithList” , everything under “Classes” is queried, treating the “” as a wildcard and not a…

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  16. New Cmdlet : Export-WinEvent

    Votes from Connect: 4

    Original Date Submitted: 5/19/2015 2:54:47 PM

    Description:
    Contact Information
    Handle: ShellDealer
    Site Name: PowerShell
    Feedback ID: 1346220


    Problem Description:
    Like wevtutil, get-WinEvent permit usefull xmlfilter filter
    $query = @'
    <QueryList>
    <Query Id="0" Path="Security">

    &lt;Select Path=&quot;Security&quot;&gt;*[System[TimeCreated[timediff(@SystemTime) &amp;lt;= 3600000]]]&lt;/Select&gt;
    

    </Query>
    </QueryList>
    '@

    Get-WinEvent -FilterXML $query

    I suggest a cmdlet to export the result

    Export-WinEvent [-syslog]
    Export-WinEvent [-Path] -fileType (evtx|xml|csv|txt)

    Product Studio item created by Connect Synchronizer due to creation of feedback ID 1346220 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1346220).

    Repro Steps:

    Internal BugId: 14485

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  17. Suggestions for new approved verbs

    Votes from Connect: 4

    Original Date Submitted: 5/17/2015 10:14:13 PM

    Description:
    Contact Information
    Handle: Juho Lehto
    Site Name: PowerShell
    Feedback ID: 1341385


    Problem Description:
    I would like to propose following three verbs to be added: Download, Upload and Reinstall.
    Thank you.

    Product Studio item created by Connect Synchronizer due to creation of feedback ID 1341385 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1341385).

    Repro Steps:

    Internal BugId: 14476

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  18. Add Exception Visibility to Cmdlet Help

    Votes from Connect: 4

    Original Date Submitted: 5/13/2015 9:02:25 PM

    Description:
    Contact Information
    Handle: Matt McNabb
    Site Name: PowerShell
    Feedback ID: 1329164


    Problem Description:
    It would be nice to have cmdlet help include information about any error types that might be thrown and whether they are terminating or non-terminating. This would be a benefit when writing scripts that have formal error-handling with try/catch so we can properly filter the catch blocks and add -ErrorAction Stop where necessary.

    Usage could be something like:

    Get-Help Get-Something -Errors

    Or:

    Get-Help Get-Something -Exceptions

    Product Studio item created by Connect Synchronizer due to creation of…

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  19. PSPossibleIncorrectComparisonWithNull - $null should be on the left side of equality comparisons.

    Votes from Connect: 3

    Original Date Submitted: 5/3/2015 6:39:12 PM

    Description:
    Contact Information
    Handle: Remco Kapinga
    Site Name: PowerShell
    Feedback ID: 1299466


    Problem Description:
    Invoke-ScriptAnalyzer flags this as a Warning:

    if ($item -ne $null) { .. }
    

    And suggest that we should write this comparison as:

    if ($null -ne $item) { .. }
    

    That makes code less readable (yoda-speak). This reminds us of the c language defect with if(a = null) { .. } versus if(a == null) { .. }

    I don't see the point of this rule in PowerShell, and the suggested construct makes code less readable.

    Please…

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  20. Export-CSV should include milliseconds for datetime objects

    Votes from Connect: 3

    Original Date Submitted: 3/24/2015 1:39:18 PM

    Description:
    Contact Information
    Handle: sba923
    Site Name: PowerShell
    Feedback ID: 1200023


    Problem Description:
    As of today, Export-CSV doesn't include milliseconds when dumping datetime objects. This makes it impossible to process sub-second resolution data e.g. in Excel.

    Workaround is to convert the datetime objects to strings using ("{0:yyyy-MM-dd HH:mm:ss.fff}" -f $timestamp), but that's not really convenient...

    Product Studio item created by Connect Synchronizer due to creation of feedback ID 1200023 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1200023).

    Repro Steps:

    Internal BugId: 14334

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base