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. Provide the ability to expose the Powershell commands behind any OS config change

    When using GUI tools for the management of Windows, it would be beneficial to have an option to expose the underlying Powershell commands that a configuration change is running under the hood. This would be similar to the "Script to new query window" functionality in SSMS or the ability to see the Powershell commands being run in Exchange configuration. This would ease automation efforts and decrease the amount of time required to automate system configuration changes.

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

    We’ll send you updates on this idea

    3 comments  ·  Flag idea as inappropriate…  ·  Admin →

    Hi all,

    If I understand correctly, you’re looking for functionality like this one provided by System Center VMM: https://technet.microsoft.com/en-us/library/hh875023(v=sc.12).aspx

    Unfortunately, this is something that would have to be implemented in each individual management application, and would only be possible on those which are actually calling PowerShell under the hood.

    I highly recommend that the supporters of this suggestion file suggestions on the management GUIs where they’d like to see this functionality.

    For example, if you want to see this in SMT, file something here: https://windowsserver.uservoice.com/forums/295071-management-tools

    Or for SMSS, file something on their MS Connect: https://connect.microsoft.com/SQLServer/Feedback

    Sorry I can’t be more help here, everyone. This just isn’t functionality that we can provide generically to all your GUI tools. :(

    Thanks,
    Joey

  2. Show syntax errors in PowerShell comment-based help

    When comment-based help has a syntax error, surface the syntax error so the user can see and correct it.

    Including:
    -- Invalid comment keywords
    -- Misplaced keyword values
    e.g.
    .PARAMETER <parameter-name>
    v.
    .PARAMETER
    <parameter-name>
    -- -- One empty line between comment-based help and a function declaration.

    Otherwise, this widely-used help syntax is too fragile and error-prone for general use.

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

    We’ll send you updates on this idea

    5 comments  ·  Flag idea as inappropriate…  ·  Admin →
  3. Add a Get-Uptime cmdlet

    Add a new cmdlet that returns the uptime of a computer. This is commonly used information that is present in Task Manager. Currently, in order to retrieve this information, you need to make several calls with Get-WMIObject and calculate the uptime. A simple, easy to use cmdlet would be much more preferable.

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

    We’ll send you updates on this idea

    3 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  4. BCD Module

    Configuring the BCD-Store is quite a mess with Powershell. One can use bcdedit directly from the Powershell, but it´s not powershellish and I am missing a few features. There are a few WMI-Classes and methods, but they are very badly documented. I would really appreciate native bcd-cmdlets.

    18 votes
    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 →
    external  ·  Zachary Alexander responded

    This is a Windows 10 feature and not owned by the PowerShell team. Please file a feedback request in the Windows Feedback Tool.

  5. DSC Environment Resource Does Not Allow Duplicate PATH Definitions

    Votes from Connect: 4

    Original Date Submitted: 11/25/2015 1:53:18 AM

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


    Frequency: Desired State Configuration (DSC)
    Regression: Assume that you've had several machines in production for a long period of time, these machines may possibly have invalid configurations within them (for example perhaps you have switched text editors which require a change to the PATH environment variable) a robust configuration will attempt to perform cleanup of known invalid configurations prior to implementing its desired states.

    Such a DSC script would look similar to the below:

        Environment EnvVar_PATH_Notepad2
    
    {
    Name =
    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    4 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  6. Microsoft.PowerShell.Archive cmdlets (Expand-Archive and Compress-Archive) do not support paths containing PS Drives

    The Expand-Archive and Compress-Archive cmdlets in the Microsoft.PowerShell.Archive module each have several parameters that take in a file system path. These parameters currently only support standard file system paths (behind a drive letter or a UNC share) and not PowerShell FileSystem paths which may include a custom PowerShell drive (e.g. Documents:\myfile.zip). This support is easy to implement and should be added (I'd add it myself if this module was open source, which it should be).

    The workaround is to explicitly use standard file system paths, either via the Resolve-Path cmdlet or by using them verbatim in your command invocation.

    8 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 →
  7. Bug: sort is incorrect for strings containing the '-' character

    "somefile1","somefile2","s-abc","s-little","s-foo","s-poo","s-wtf" | sort
    s-abc
    s-foo
    s-little
    somefile1
    somefile2
    s-poo
    s-wtf

    ----compare to the correct----
    "somefile1","somefile2","sabc","slittle","sfoo","spoo","swtf" | sort
    s
    abc
    sfoo
    s
    little
    spoo
    s
    wtf
    somefile1
    somefile2

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  8. Expand-Archive.ps1 should unzip non zip-formats without .zip extensions (like .nupkg)

    Votes from Connect: 6

    Original Date Submitted: 4/17/2015 10:10:19 PM

    Description:
    Contact Information
    Handle: alejandro5042
    Site Name: PowerShell
    Feedback ID: 1255281


    Problem Description:
    There are many file formats that are actually just .zip files but with different extensions. For example, NuGet packages are really zip files with the .nupkg extension. My company (National Instruments) has many of these types of formats, as does Microsoft with their Office formats, and many other companies.

    It's silly to have to copy/rename the file to have a .zip to have this cmdlet extract the contents. I suggest removing the .zip file check in all…

    7 votes
    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 →
  9. Add KeepCDC flag to Smo.Restore class

    Gets or sets a Boolean property value that specifies whether to maintain a change data capture configuration during a restore operation.

    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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  10. Add RDSessionHost in a disabled state

    Would like to use the Add-RDSessionHost command and set the NewConnectionAllowed option while added the server to a collection.
    Currently have to run the Add and then Set command separately. If using a Try/Catch script, this can fail, thus still adding the server to a collection in an enabled state, causing users to connect to a server when we don't want them to.
    Would like to be able to add a server in a disabled state to prevent this type of issue.

    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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  11. Feature Request: Provide Working Tabs for PowerShell

    Feature Request:
    Include an optional tabbed interface within PowerShell.exe to allow multiple instances of concurrent active PowerShell windows. This would allow different interactive sessions to be open instead of launching multiple PowerShell.exe windows to save the end user additional screen real estate when using PowerShell where Enter-PSSession and Exit-PSSession may not be utilized based on the user's workflow.

    Idea from blog post:
    http://www.hanselman.com/blog/ConEmuTheWindowsTerminalConsolePromptWeveBeenWaitingFor.aspx

    3 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 →
  12. Windows PowerShell Desired State Configuration Missing Key Information

    Great article on DSC for PS5. However, while the article details how to setup a http PULL server and how to get info from a DSC REPORT server, it never mentions how to setup a REPORT server. You can setup clients to send report data to the pull server, but attempting to retrieve info for a node (as per the article) gives a 404 resource not found error. The article doesn't mention how to get PSDSCReportServer.svc going.

    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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  13. Compress-Archive Add a Passthru parameter

    It would be great to have the parameter Passthru when using the Compress-Archive function from the Microsoft.PowerShell.Archive module.

    I would expect a System.IO.FileInfo object in the output

    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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  14. Compress-archive add password switch to allow create protected zip files

    Votes from Connect: 7

    Original Date Submitted: 5/20/2015 9:21:45 PM

    Description:
    Contact Information
    Handle: MDrobul
    Site Name: PowerShell
    Feedback ID: 1350514


    Problem Description:
    Add support to create password protected zip files and extract them.

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

    Repro Steps:

    Internal BugId: 14497

    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 →
  15. Add functionality to Expand-Archive so that it can open password-protected archive (zip) files

    Votes from Connect: 4

    Original Date Submitted: 5/12/2015 2:38:00 AM

    Description:
    Contact Information
    Handle: Set-Name Mark Wilson
    Site Name: PowerShell
    Feedback ID: 1323774


    Problem Description:
    Please add a -Password switch to Expand-Archive so that it can open password-protected archive files. These files can currently be opened only through the GUI.

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

    Repro Steps:

    Internal BugId: 14458

    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 →
  16. Publish activedirectory module to PSGallery

    The active directory module is really useful, but a pain to install on a server/computer.
    Current install instructions are these: https://blogs.technet.microsoft.com/ashleymcglone/2016/02/26/install-the-active-directory-powershell-module-on-windows-10/

    I would love the possibility to just do:
    Install-Module "ActiveDirectory" and have everything good to go.

    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 →
  17. RMDIR bug - causing "Access is denied"

    : z:\ca\WinRdBug.cmd * L=001 --- 2017/12/05 13:02:28

    : The RMDIR command has a bug that, as well as not working,

    : causes the target directory to become inaccessible.

    : i.e. operation on it all result in "Access is denied" or similar :messages.

    : The problem is easily demonstrated using the sequence of :commands below.

    : This bug is causing significant inconvenience and we need a fix or

    : reasonable work-around quickly please. (just upgraded to Win10
    : from XP where this is not an issue).

    mkdir c:\t1229

    echo *** >c:\t1229\x.x

    type c:\t1229\x.x

    rmdir c:\t1229 /s /q

    type c:\t1229\x.x

    pause

    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. PowerShell v6.0.0-beta.7 xml save on Linux and MacOS X has an additional [] in DOCTYPE

    [xml]$XmlDoc = get-content 'Info.plist'

    $XmlDoc.Save('def.plist')

    The two lines above work correctly in PowerShell 5.1 on Windows 10 but incorrectly with PowerShell v6 on Linux and MacOSX.

    Notice the [] just before the end in DOCTYPE.

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"[]>

    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 →
  19. login popup size

    With the new design of the Microsoft login screen, the popup that appears when using Login-AzureRmAccount is way too small and cannot be resized. This hides the fields and controls, and is a pain to use. It needs to be quite a bit bigger, and would be great if it could at least be resized.

    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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  20. PSCore6 compatibility

    I started testing Powershell from https://github.com/PowerShell/PowerShell and https://hub.docker.com/r/microsoft/powershell/

    Sadly, it appears a lot of modules for Windows Management like ActiveDirectory, MsOnline, Azure are not working there because implemented as PSSnapIn.

    Having PSCore6 compatible module published publicly would be great!

    Thanks

    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 →
← Previous 1 3
  • Don't see your idea?

Feedback and Knowledge Base