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. "Logon as a Service"

    Please create Cmdlets allowing us to query, add and remove the "Logon as a Service" right to users and groups in a reasonably performant manner.

    I have found that all solutions involving secedit take far too long to execute across hundreds of servers. Whilst this I could work around this by creating background jobs and running them in parallel, it would be great if we had native PowerShell Cmdlets that work fast enough that we don't have to worry about this.

    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 →
  2. New-PssessionConfigurationFile does not create well formed configuration file

    onfigurationFile out.pssc -Verbose
    VERBOSE: The member 'RunAsVirtualAccountGroups' is not a valid key. Please change the member to a valid key in the file
    C:\windows\system32\out.pssc.
    False

    3 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 Engine  ·  Flag idea as inappropriate…  ·  Admin →
  3. CredSSP should allow delegation of “Default” (current) credentials

    Votes from Connect: 159

    Original Date Submitted: 10/19/2009 3:31:10 AM

    Description:
    Contact Information
    Handle: degustator
    Site Name: PowerShell
    Feedback ID: 498377


    Frequency: Always Happens
    Regression: I don't know if this issue existed previously

    Problem Description:
    When I try to use CredSSP I receive the following error message:

    enter-pssession -computername <Remote Server FQDN> -authentication credssp

    Enter-PSSession : The WinRM client cannot process the request. Requests must include user name and password when CredSSP authentication mechanism is used. Add the user name and password or change the authentication mechanism and try the request again.

    This means that Powershell (or WinRM) implementation of…

    9 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 →
  4. Bug - PSv5 - Cannot Continue Command on New Line after Pipe without Back-tic in ISE

    In the PowerShell from WMF5 Production Preview on Win7x64, commands that continue onto an additional line would normally be able to split at the Pipe symbol, but now will error, unless using the back-tic. It might be the same when splitting on commas separating property names as well.

    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 →
  5. Test-ModuleManifest - PSModuleInfo Not Updated After Change

    Originally described by Dardenne Laurent at https://connect.microsoft.com/PowerShell/feedback/details/1541659/test-modulemanifest-the-psmoduleinfo-is-not-updated:

    When I modify, in a same session, a manifest file, the moduleList property is not updated.

    If i call again Test-ModuleManifest, the PSModuleInfo is identical.

    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 →
  6. Invoke-WebRequest doesn't automatically detect and use proxy settings in the PowerShell ISE

    I can retrieve the contents of a URL using something like 'iwr http://www.adobe.com&#39; in the command-line PowerShell host.

    This takes into account the proxy settings in Control Panel / Internet Options.

    If I attempt the exact same thing in the PowerShell ISE, I get:

    iwr : The remote name could not be resolved: 'www.adobe.com&#39;

    This works only if I add the -Proxy and -ProxyUseDefaultCredentials options.

    This was posted to https://connect.microsoft.com/PowerShell/feedback/details/1057090/powershell-ise-doesnt-use-the-system-proxy-settings but nothing happened there.

    The thread at https://social.technet.microsoft.com/Forums/scriptcenter/en-US/a6963243-742d-4075-a5ad-cb00863cd73d/powershell-40-ise-doesnt-use-the-system-proxy-settings?forum=ITCG#3f2da920-e47a-4826-a811-89b356ecf8e9 didn’t help.

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

    We’ll send you updates on this idea

    1 comment  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  7. [BUG] get-host returns wrong version number on Windows 10 1511 10586.71

    After updating to Windows 10 1511 10586.71, PowerShell get-host command still returns 10586.63 as the windows version number.

    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 Engine  ·  Flag idea as inappropriate…  ·  Admin →
  8. Add additonal properties to PowerShell Gallery Items

    There are a few additional properties that should be returned when you query the PowerShell Gallery using Find-Module or Find-Script that are currently not exposed although they are accessible via the PowerShell Gallery Website.

    As the PowerShell Gallery Website already has this information it shouldn't be too taxing to include this as an exposed property when accessing the Gallery via PowerShell

    Although it is possible to get this information via using WebScraping methods from the Gallery website - this adds unneeded requests when this could be included by default.

    The Additional Properties I would like to see included would be

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

    We’ll send you updates on this idea

    0 comments  ·  Package Management  ·  Flag idea as inappropriate…  ·  Admin →
  9. PowerShell ISE Add-on Model: Manage a distraction-free mode

    PowerShell ISE would benefit from a distraction-free authoring experience, similar to how full-screen / "presentation mode" applications work on Mac OS X.

    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 →
  10. DSC Environment Resource Expands PATH Environment Variable

    Votes from Connect: 3

    Original Date Submitted: 11/25/2015 1:33:11 AM

    Description:
    Contact Information
    Handle: aolszowka
    Site Name: PowerShell
    Feedback ID: 2054029


    Frequency: Desired State Configuration (DSC)
    Regression: Prior to running the below DSC ensure that the environment variable is not already expanded/mangled, you can do this either by pulling up the System Environment Variables Dialog from System, or by querying the registry:

    REG.EXE QUERY "HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V "PATH"

    We should expect to see something similar to the following:

    HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

    PATH    REG_EXPAND_SZ    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\System32\WindowsPowerShell\v1.0\
    

    Create a new DSC Script with the following:

    Environment EnvVarPATHNotepad2

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

    We’ll send you updates on this idea

    1 comment  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  11. Find-Module needs improvements to enable better discoverability

    Votes from Connect: 3

    Original Date Submitted: 11/3/2015 7:38:42 PM

    Description:
    Contact Information
    Handle: Ryan Yates 90
    Site Name: PowerShell
    Feedback ID: 1976168


    Frequency: Always Happens
    Regression: Yes, this happens in all previous versions

    Problem Description:
    The Find-module command needs some further improvements to allow there to be better discoverability of functions and Modules including the ability to search for functions using Wildcards and also to get back results based on the functions Synopsis, Description, Function Name, Notes & Examples

    An example of a better formatted Find-Module command could be

    Find-Module -Command 'SharePoint' and this should return all…

    8 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 →
  12. Function/Region/Workflow Explorer in PowerShellISE

    Votes from Connect: 5

    Original Date Submitted: 4/23/2015 9:15:37 PM

    Description:

    Contact Information
    Handle: Emmanuel Demillière
    Site Name: PowerShell
    Feedback ID: 1272260


    Problem Description:
    Hello,

    I would really appreciate to have a region/function/workflow explorer in PowerShellISE.
    Indeed, since v3, we can use regions to collapse/expand lines of code, but we cannot access a given region/function/workflow quickly.

    In Visual Studio we have this feature only for Function/Workflow.

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

    Repro Steps:

    Internal BugId: 14400

    8 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 →
  13. The 'PipelineVariable' parameter do not work inside an advanced function

    Votes from Connect: 9

    Original Date Submitted: 12/6/2014 1:04:38 AM

    Description:
    Contact Information
    Handle: Dardenne Laurent
    Site Name: PowerShell
    Feedback ID: 1047447


    Frequency: Always Happens
    Regression: No, this is new to the most recent version

    Problem Description:
    The 'PipelineVariable' parameter do not work inside an advanced function.

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

    Repro Steps:
    function Convert-DictionnaryEntry($Parameters)
    {

    "$($Parameters.GetEnumerator()|% {"$($.key)=$($.value)"})"
    }#Convert-DictionnaryEntry

    Function Set-PV {
    [CmdletBinding()]
    param (

          [Parameter(Mandatory=$true,ValueFromPipeline = $true)]
    
    [System.Management.Automation.PSObject] $InputObject

    )

    process {
    Write-warning "Paramètres : @{$(Convert-DictionnaryEntry $PSBoundParameters )}"

    Write-Warning "inputObject=$inputObject"
    #Write-host "$(gv -name $PipelineVariable)" …

    8 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 →
  14. Powershell rm -rec traverses symbolic links and removes items in target

    Votes from Connect: 24

    Original Date Submitted: 2/29/2012 11:46:46 PM

    Description:
    Contact Information
    Handle: Jason R. Coombs
    Site Name: PowerShell
    Feedback ID: 727149


    Frequency: Always Happens
    Regression: Yes, this happens in all previous versions

    Problem Description:
    It's apparently not possible to simply remove symbolic links to directories using Powershell. Instead, Powershell recursively removes the children. For example:

    cmd /c mklink /d MyWindows C:\Windows

    If you try to remove MyWindows using Powershell, it prompts to delete children, and if you confirm (or if -rec was supplied), it attempts to remove everything in the C:\Windows directory. I don't suppose I have to…

    8 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 →
  15. [CTP 3] ISE - Notify, when edited files are changed externally

    Votes from Connect: 12

    Original Date Submitted: 1/2/2009 2:29:24 AM

    Description:
    Contact Information
    Handle: Bernd Kriszio
    Site Name: PowerShell
    Feedback ID: 390290


    Frequency: Always Happens
    Regression: Yes, this happens in all previous versions

    Problem Description:
    When you edit a file, that is currently loaded in ISE (Windows PowerShell Integrated Scripting Environment), using an external editor or a version control system, you should be asked whether you want to relaod the file or not.

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

    Repro Steps:
    1) Load any script into ISE.
    2) Modify…

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

    We’ll send you updates on this idea

    1 comment  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  16. Windows 10 Home + Powershell 5.0.10586 + InternetExplorer 11.20.10586.0 automation fails as preinstalled on my brand new laptop, works fine

    Possible bug or configuration problem:
    Windows 10 Home + Powershell 5.0.10586 + InternetExplorer 11.20.10586.0 automation fails as preinstalled on my brand new laptop, works fine on older releases on other machines.
    Document content missing:
    ..
    $ie = New-Object -ComObject InternetExplorer.Application
    ..
    $ie.Navigate(..)
    ..
    $ie.Document # Faulty result

    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 →
  17. BUG: Error 0xC0000142 / -1073741502 when running command line apps from PS script on Win10

    My organisation is having problems running a PowerShell-based build script on Windows 10. We're seeing frequent 0xC0000142 / -1073741502 errors when spawning command-line executables from the build script.


    C:\Source\Build\packages\Tools.Subversion.1.8.8.1\tools\svn.exe info --xml "C:\Source" --non-interactive --trust-server-cert' to retrieve current SVN branch URL

        svn.exe returned exit code -1073741502
    
    At C:\Source\Build\BuildScript.ps1:48 char:35
    + ... tExitCode -ne 0) { throw &quot;svn.exe returned exit code $LastExitCode&quot; }
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : OperationStopped: (svn.exe returned exit code
    -1073741502:String) [], RuntimeException
    + FullyQualifiedErrorId : svn.exe returned exit code -1073741502

    This issue was supposedly fixed on Windows 7 / Server 2008 R2 by KB2701373, but appears to have…

    4 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 Engine  ·  Flag idea as inappropriate…  ·  Admin →
  18. Invoke-command does not return output from modules on v2 targets

    I have the following PS module (testme.psm1) saved to a properly-named folder on Win7 (powershell v2) and Win8.1 (powershell v4) machines:

    requires -version 2.0

    function Test-Output {

    [CmdletBinding()]
    
    Param ()

    Write-Output &quot;Test-Output SUCCESS&quot;
    Write-Verbose &quot;Test-Output VERBOSE SUCCESS&quot;

    }

    When I test it from a Win10 (PS v5) system, output is as follows:

    PS> invoke-command win7 {import-module testme;test-output}
    (no output)

    PS> invoke-command win7 {import-module testme;test-output -verbose}
    (no output)

    PS> invoke-command win81 {import-module testme;test-output}
    Test-Output SUCCESS

    PS> invoke-command win81 {import-module testme;test-output -verbose}
    Test-Output SUCCESS
    VERBOSE: Test-Output VERBOSE SUCCESS

    PS>

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

    We’ll send you updates on this idea

    planned  ·  2 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  19. Add "Send To > PowerShell" to Windows Explorer

    "Send To > PowerShell" should:


    1. Open PowerShell + run your profile.ps1

    2. Have PowerShell cd itself to the directory of the file (the change directory action shouldn't appear in PowerShell's command history list)
      3a. If the file is a folder, do nothing
      3b. If the file is a .ps1 or .exe file, PowerShell should insert ".\foo.whatever" on the prompt and put the cursor at the end. PowerShell should also make sure certain strings are quoted/ampersanded (basically, the same quoting/escaping/ampersanding algorithm that its filename completion uses should be applied)
      3c. Otherwise, PowerShell should insert "'.\foo.whatever'" on the prompt and put the cursor…
    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  20. Ability to rename Untitled tabs

    Add the ability to rename Untitled tabs as in sublime text with the Rename Tab package found at https://github.com/frozenice/RenameTab

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

    We’ll send you updates on this idea

    2 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base