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. Impossible to set -RunOnlyIfIdle flag

    New-ScheduledTaskSettingsSet -RunOnlyIfIdle doesn’t do anything. Fixing that wouldn’t really help either as we’d need an idle task trigger as well. I documented all the problems at the below link, and really hope this could be sorted out.
    https://www.slightfuture.com/devel/idle-task-scheduler-powershell

    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 →
  2. PS ConstrainedLanguage mode on Windows 10 with SRP

    We have Windows 10 computers (PS version 5) with SRP (Software Restriction Policy) enabled.

    We realized that when we have PS Version 5 and SRP enabled, the system will put PowerShell into ConstrainedLanguage mode, which prevents some of our PS scripts to run in the user context.

    If we try other combinations we can see that things works:
    -If we start the PS with elevated admin rights, then PS in admin context run in FullLanguage mode.
    -If we disable SRP, then PS in user context will run in FullLanguage mode.
    -If we run PS Version 4 (Win 7 or 8)…

    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 →
  3. Get-ChildItem and Test-Path on IIS:\SslBindings can fail to show SNI bindings

    On IIS8

    After Importing the WebAdministration module and using Get-ChildItem and Test-Path against IIS:\SslBindings I find it gives it can give inconsistent results.

    If I create a new site with only an SNI SSL binding and try to enumerate the SSL bindings using either

    Test-Path IIS:\SslBindings!443!my.test.site
    (which will return false)
    or
    Get-ChildItem -Path IIS:\SslBindings\
    (which can fail to return the SNI bindings)

    Adding a HTTP binding to the IIS site makes these SNI SslBindings visible (it can be removed afterwards).

    This does not occur using netsh http show sslcert which seems to return the information reliably.

    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 →
  4. psreadline module bug: cursor position error

    TITLE
    psreadline module bug: cursor position error

    【version】
    tested on powershell 5.0 in win10 1511 10586.104

    【reason】
    Cursor position error when chinese characters folder,or filename in console.
    see under test code.

    【reporter】
    By the chinese powershell research group. QQ group No. is 183173532

    【test code】
    PS F:\MP3\振奋> pwd <----- In any chinese characters folder,some block on 'pwd' left.

    Path

    F:\MP3\振奋

    PS F:\MP3\振奋> Remove-Module psreadline
    PS F:\MP3\振奋> pwd <----- Normal

    Path

    F:\MP3\振奋

    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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  5. Add write-information logic to write-warning and error

    Please give Write-Warning and Error the same functionality as the new write-information in WMF5.0.

    Would especially like the tag functionaliy

    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 →
  6. "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 →
  7. Get or Set-WebConfiguration and Get or Set-WebConfigurationProperty does not work for 32-bit applications when pspath is 'MACHINE/WEBROOT'

    When configuring IIS using Powershell, the cmdlets that read or write to configuration do not work when the application pool is 32-bit.

    There is no way of specifying the "bitness" of the application therefore by default the configuration is written to the web.config file in the Framework64 folder which is ignored for 32-bit applications.

    This is also the case for IIS manager when using "Configuration Editor". You can choose the location of "Root Web.Config <location path="my website"> however this ignores whether the application is 32 or 64 bit and always writes to the 64 bit location in the Framework64 folder.

    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. `Get-ChildItem <wildcard-path>` may fail in a directory with backticks

    The script shows the issue:


    # make directory with backticks and cd to it
    
    $null = mkdir &#39;``test``&#39;
    Set-Location -LiteralPath &#39;``test``&#39;

    # it fails &quot;Cannot find path &#39;...\`test`&#39;
    Get-ChildItem *


    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 →
  9. 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 →
  10. Export-Csv - not quite right error message

    This command

    1 | Export-Csv

    gets an error

    > Export-Csv : You must specify either the -Path or -LiteralPath parameters, but not both.

    The command specifies none of the -Path or -LiteralPath, not both, as the message claims.

    PowerShell 5.0

    0 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 →
1 2 9 10 11 13 Next →
  • Don't see your idea?

Feedback and Knowledge Base