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. Bug? SCOM cmdlets don't fully load until first execution of cmdlet

    SCOM module is loaded.
    Get-SCOMAgent cmdlet (among other SCOM cmdlets) is not recognized as cmdlet.
    Execute 1 cmdlet from the loaded SCOM cmdlet.
    Get-SCOMAgent cmdlet is now recognized.

    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 →
  2. SC2016 "set-scxresourcepool" technet article is almost empty and has useless example

    Set-ScXResourcePool TechNet article is almost empty & has useless example:

    the example is "PS C:>"

    https://technet.microsoft.com/en-us/library/mt589548(v=sc.30).aspx

    This link was accidentally opened by a customer & used as an example in a discussion.

    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 →
  3. Bug: Add-WebConfigurationProperty does not correctly add collections

    This was previously posted in the IIS uservoice section, but it seems to be abandonded. There are no MS responses on any posts, and some of them are over a year and a half old.

    This is also detailed in the following Reddit post: https://www.reddit.com/r/PowerShell/comments/57bxzd/powershellandiissettingwebdav_rules/

    Summary: Add-WebConfigurationProperty does not correctly add collections

    Component: Powershell IIS Module, specifically Add-WebConfigurationProperty

    Version: Powershell 5 (PSVersion 5.0.10586.117, BuildVersion 10.0.10586.117)

    OS: Windows Server 2012 R2 Datacenter (OS Version: 6.3.9600 N/A Build 9600)

    Description: When adding a configuration property that includes a collection, it does not add the element with the collection…

    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. tabs

    Add support for tabs on the console, just like in ISE.
    MAC terminals have this feature and is incredibly helpful.

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

    We’ll send you updates on this idea

    3 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  5. Get-ComplianceSearch

    Get-ComplianceSearch | Select-Object Items on multiple content searches comes back as 0. If you check then individually you get an accurate item count

    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 →
  6. Resolve-DnsName -DNSSECOK output should indicate validation success or failure (AD flag set)

    When using "Resolve-DnsName -DNSSECOK" to resolve a DNS name that may be signed with DNSSEC, the output of the command should indicate validation success or failure somehow; for example, the output object could have a new property named "DnsSecValidated" or "AuthenticatedData" set to true/false.

    In various documents, Microsoft currently demos testing a DNSSEC response with a third-party tool (dig). It would be better to handle it all natively in PowerShell.

    ( Here is how the dig tool does it: https://techglimpse.com/dns-dnssec-testing-validating-tools/ )

    More specifically, a response to a DNS query with the "DNSSEC OK" flag should set another flag named "Authenticated…

    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 →

    Hi Jason,

    Thanks for the report! Unfortunately, this UserVoice is for core modules included with PowerShell itself, while the DnsClient module belongs to the Windows 10 team. The best way to reach them is to file feedback using the Windows Feedback Hub in Windows 10 to drive this request.

    Thanks,
    Joey

  7. Get-MsmqOutgoingQueue is not returning anything

    I am running Get-MsmqOutgoingQueue on a Windows Server 2012 R2 machine with MSMQ enabled. I have messages queues created and I have messages in the queues. When I run Get-MsmqOutgoingQueue -Name "MyQueue" it returns nothing. If then run Get-MsmqOutgoingQueue with no params, it also returns nothing (according to the documentation it should return all the queues) - so what is going on?

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

    This cmdlet is not owned by the PowerShell team. See comments for feature team’s explanation.

  8. 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.

  9. Crash on OS X

    PowerShell crashed on OS X:

    PS /Users/PATH> ibtool ./Base.lproj/Main.storyboard --generate-strings-file Main.strings

    ^[[24;1R^[[24;1RPS /Users/PATH>
    Unhandled Exception: System.IO.IOException: The process cannot access the file because it is being used by another process.
    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func2 errorRewriter)
    at Interop.CheckIo(Int64 result, String path, Boolean isDirectory, Func
    2 errorRewriter)
    at System.IO.StdInStreamReader.ReadKey(Boolean& previouslyProcessed)
    at System.IO.SyncTextReader.ReadKey(Boolean& previouslyProcessed)
    at System.ConsolePal.ReadKey(Boolean intercept)
    at System.Console.ReadKey(Boolean intercept)
    at Microsoft.PowerShell.Internal.TTYConsole.ReadKey()
    at Microsoft.PowerShell.PSConsoleReadLine.ReadOneOrMoreKeys()
    at Microsoft.PowerShell.PSConsoleReadLine.ReadKeyThreadProc()
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    zsh: abort /usr/local/bin/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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
    external  ·  Zachary Alexander responded

    Please file issues for PowerShell Core directly on GitHub, especially for other operating systems. GitHub has an issues template which helps us get the information we need to start debugging.

  10. Windows Management Framework 4.0, 5.0, 5.1

    Please make sure, that all Microsoft applications are compatible with Windows Management Framework in conjunction with Microsoft .NET Framework 4.x
    Escpecially SharePoint, Exchange Server or System Center products were often not compatible.

    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 →

    The PowerShell team is working with the teams you mentioned to provide support for WMF releases. It is the decision of those teams (SharePoint, Exchange, and System Center) whether or not to provide support, and on which OS targets that the WMF installs to.
    You may be able to assist by raising the request to support WMF to those teams via your TAMs and their feedback channels.

  11. 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 →
  12. Get-MPIOSetting returns Format-List object

    Get-MPIOSetting returns Format-List object:
    The cmdlet builds an Object with all the correct properties, but then passes the object to Format-List on return. Removing the FL, fixes the issue and returns the expected object.
    Windows 2012 R2, Windows 2016 - MPIO module, Get-MPIOSetting:
    'Return $MPIOSettingsOBJ | FL;'

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

    Thanks for the feedback! Unfortunately, the Get-MPIOSetting cmdlet isn’t managed by our team, but we’ll do our best to pass the bug on to the appropriate team.

  13. 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 →
  14. Potential bug in version 3.10.0.0 xPSDesiredStateConfiguration MSFT_xDSCWebService resource when using Self-Signed Certificates.

    Issue

    Potential bug in version 3.10.0.0 xPSDesiredStateConfiguration MSFT_xDSCWebService resource when using Self-Signed Certificates.

    Proposed solution is at the end of this post.

    Environment

    Operating System:

    PS C:&gt; gwmi -Class win32_operatingsystem | Select-Object -Property Name, buildnumber

    Name buildnumber


    Microsoft Windows Server 2012 R2 Standard|C:\windows|\Device\Harddisk0\Partition1 9600

    $psversiontable:

    Name Value


    PSVersion 5.0.10586.117
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
    BuildVersion 10.0.10586.117
    CLRVersion 4.0.30319.34209
    WSManStackVersion 3.0
    PSRemotingProtocolVersion 2.3
    SerializationVersion 1.1.0.1

    How to produce

    Using this configuration code with version 3.10.0.0 xPSDesiredStateConfiguration:

    Node $AllNodes.Where{$_.Role -eq &quot;Pull Server&quot;}.Nodename      
    
    {

    xTimeZone SetTimeZone
    {
    TimeZone = &quot;Eastern Standard Time&quot;
    IsSingleInstance = &#39;Yes&#39;
    }

    xDNSServerAddress SetTargetClientDNS
    {
    Address = $Node.DNSServerAddress
    AddressFamily…

    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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  15. Add-VPNConnection does not suport using L2tp with PAP and Required Encryption

    Bug! Add-VPNConnection does not suport using L2tp with PAP and Required Encryption. You can do this in the GUI but you cant do it in 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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
    external  ·  Zachary Alexander responded

    Thanks so much for the feedback. Unfortunately, this functionality is not owned by the PowerShell Core team. We recommend that you file the feedback with the Windows team using the Windows Feedback/Feedback Hub app included with Windows 10

  16. Default Resolve-DNSName Object Output Results in Array of Mixed Object Types

    Using the DNSClient module included in RSAT, the default output of the cmdlet mixes different object types.

    You can see examples of using the cmdlet, and the cluttered multi-object output, here:
    https://blogs.technet.microsoft.com/heyscriptingguy/2013/01/08/replace-nslookup-with-a-built-in-windows-8-powershell-function/

    You can see that the default output is a mix of Format-Table and Format-List styles, due to the different types in the result. This seems very non-standard for PowerShell cmdlets to be producing different object types. Maybe this could be resolved based on parameter usage? Or by nesting objects within results when retrieving multiple record types at once?

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

    Thanks for the feedback! Unfortunately, the Resolve-DNSName cmdlet isn’t managed by our team, but we’ll do our best to pass the bug on to the appropriate team.

  17. 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 →
  18. 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 →
  19. Cmdlet update 5.0.8373.1182 Move-cmobject no longer works

    Cmdlet update 5.0.8373.1182 Move-cmobject no longer works
    I cannot move either collections or packages: No object corresponds to the specified parameters.

    It is working fine in 5.0.8328.1155
    System Center 2012 R2 SP1
    Console version: 5.0.8239.1203
    Site Version: 5.00.8239.1000

    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 →
  20. Add non-Zip archive management to Microsoft.PowerShell.Archive

    Expand-Archive and Compress-Archive should support other compression or packaging formats, for example .tar.

    This is already supported in the PSCX module. If possible the overlapping commands should be combined in the Microsoft.PowerShell.Archive module.

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

Feedback and Knowledge Base