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 in Get-Hotfix

    Hi!

    There is actually a bug in Get-Hotfix:

    PS C:> get-culture

    LCID Name DisplayName


    1033 en-US English (United States)

    PS C:> get-hotfix

    Source Description HotFixID InstalledBy InstalledOn


    ERUDAE Update KB3124200 NT AUTHORITY\SYSTEM 01-Jun-16 00:00:00
    ERUDAE Update KB3124262 NT AUTHORITY\SYSTEM
    ERUDAE Security Update KB3124263 NT AUTHORITY\SYSTEM
    ERUDAE Security Update KB3135173 NT AUTHORITY\SYSTEM 02-Oct-16 00:00:00
    ERUDAE Security Update KB3135782 NT AUTHORITY\SYSTEM 02-Oct-16 00:00:00
    ERUDAE Update KB3139907 NT AUTHORITY\SYSTEM 03-Feb-16 00:00:00
    ERUDAE Update KB3140743 NT AUTHORITY\SYSTEM 03-Feb-16 00:00:00

    My computer has been updated just today (March 2nd 2016). But in Powershell we see something like 03/02/2016 which is wrongly translated to 03-Feb-2016. I…

    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 →
  2. Get-Service does not return the service startup type

    This seems like a some kind of weird oversight?
    I can get all kinds of useful info about a service by using get-service, but it won't tell me what the startup type is (Automatic/Manual/Disabled/etc.).
    Please add this to the info returned.

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

    We’ll send you updates on this idea

    4 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  3. BUG: WMF5 RTM $PSModulePath

    After installation of the WMF5 RTM the $PSmodulePath is RESET to default.
    Update the $PSModulePath instead of resetting it.
    If additional modules are installed these are not available after installation of WMF5 RTM.

    WorkAround : Store your system variable PSModulePath before installing WMF5
    After installation of WMF5 restore your original PSModulePath

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

    We’ll send you updates on this idea

    10 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  4. ISE Preview crashes at launch

    ISE Preview fails to launch "powershell_ise has stopped working"

    Was installed with
    find-module -Name PowerShellISE-preview | Install-Module

    and tried
    find-module -Name PowerShellISE-preview | Install-Module -Scope CurrentUser

    and (just incase)
    find-module -Name PowerShellISE-preview | Install-Module
    -Scope AllUsers -Verbose

    (Module was removed each time)
    it Installs OK but will not launch

    Both PC's are on fast ring builds (both are on different versions of fast ring build 11099.rs1release.160109-1156 and 14251.rs1release.160124-1059)

    current user has admin rights (and running elevated prompt)
    NOTE: User has redirected documents folder

    Created a new temp user (with admin rights) also has same issue (no redirected folders)

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

    We’ll send you updates on this idea

    4 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  5. Make it easier to provide multilingual help and help for binary cmdlets

    Writing MAML help is hard. There are some editors which make it easier, but nothing that really fits our needs. Sapien's editor is pretty good, but when you look at the changes it makes in a diff tool, it's hard to rationalise that with the buttons you clicked.

    Some possible options include:
    * More / better / simpler choices for the format of the help. Simpler XML, simple JSON, simple Markdown, simple comment-based help.


    • Better editors in VS and the ISE


    • Scaffold cmdlets to help you generate the MAML code


    My personal favourite is allowing the comment-based help to…

    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 →
  6. BUG: WMF 5.0 RTM not installing on Windows server 2012 R2

    I am trying to install W2K12-KB3134759-x64.msu and get an error saying the update is not applicable to this computer
    The server is windows 2012R2, WMF 4.0, .NET 4.5 is installed and it has all the latest security patches from February 2016. Any ideas what could cause this error. The WMF 5.0 technical preview was never installed on this server

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

    Hi Gabriel,

    The package you are attempting to install (W2K12-KB3134759-x64.msu) is meant for Windows Server 2012, not 2012 R2.

    Please try the installation with the correct package (Win8.1AndW2K12R2-KB3134758-x64.msu) and let us know if you experience any other issues.

    Further details on the packages and requirements, along with the installation details are available at: https://msdn.microsoft.com/en-us/powershell/wmf/requirements

    Thanks,
    Neema

  7. A revolutionary idea! Actually fill out your own documentation!

    https://technet.microsoft.com/en-us/library/mt426620.aspx

    Working with Windows PowerShell

    Updated: August 9, 2012
    Insert introduction here.
    Section Heading
    Insert section body here.
    Subsection Heading
    Insert subsection body here.

    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 →
  8. Bug: Set-DscLocalConfigurationManager / Partial Configuration limits are undefined

    When testing Partial Configurations in WMF5 Production Preview I am unable to run Set-DscLocalConfigurationManager due to some arbitrary limitation.

    Some guidance, documentation around Partial Configuration limits should be published.

    I've been able to reproduce this...
    Using the following code:
    $Limit = 15
    [DSCLocalConfigurationManager()]
    Configuration DSCLocalConfigurationManager {

    Node $env:COMPUTERNAME {
    
    Settings {
    RefreshMode = 'Disabled'
    }

    For ($i = 1; $i -lt $Limit; $i++) {
    $Name = "Partial$i"
    PartialConfiguration $Name {
    Description = "Partial$i"
    }

    }
    }

    }
    DSCLocalConfigurationManager
    Set-DscLocalConfigurationManager -Path .\DSCLocalConfigurationManager -ComputerName $env:COMPUTERNAME

    If I set the $Limit to 15, setting 14 Partial Configurations the application succeeds.
    If I set…

    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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →

    Hi Andrew,

    This was a known issue that should be fixed on both WMF 5 RTM and the latest version of Windows 10.

    I know that you’re still patiently awaiting the final release of WMF 5 RTM. If you still run into this problem after the RTM release (or if you run into the same problem on a fully patched Windows 10 machine), feel free to post back here.

    Thanks,
    Joey

  9. The term 'Find-Module' is not recognized

    Getting this error while: installing on Find-Module : The term 'Find-Module' is not recognized as the name of a cmdlet, function, script file, or operable
    program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

    using windows 10 build 14251.rs1_release.160124-1059

    At line:1 char:1
    + Find-Module -Name PowerShellISE-preview -AllVersions | Select-Object ...
    + ~~~~~~~~~~~

    + CategoryInfo          : ObjectNotFound: (Find-Module:String) [], CommandNotFoundException
    
    + FullyQualifiedErrorId : CommandNotFoundException

    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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  10. Powershell Gallery Add Ablity To Filter Out DSC Resources

    Votes from Connect: 5

    Original Date Submitted: 8/19/2015 7:06:54 PM

    Description:
    Contact Information
    Handle: JoshuaLinde
    Site Name: PowerShell
    Feedback ID: 1687011


    Problem Description:
    Please consider enabling filtering on the https://www.powershellgallery.com/packages page so you can filter out DSC resources.

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

    Repro Steps:

    Internal BugId: 15749

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

    We’ll send you updates on this idea

    completed  ·  3 comments  ·  Package Management  ·  Flag idea as inappropriate…  ·  Admin →
  11. Bug: Limit of 9 DependsOn PartialConfigurations

    When testing Partial Configurations in WMF5 Production Preview I am unable to run Set-DscLocalConfigurationManager if my [DSCLocalConfigurationManager()] Configuration has more than 9 Partial Configurations with the DependsOn parameter.

    Exception details:
    $.CategoryInfo:
    Category : ResourceUnavailable
    Activity :
    Reason : CimException
    TargetName : root/Microsoft/Windows/DesiredStateConfiguration:MSFT
    DSCLocalConfigurationManager
    TargetType : String

    $_.Exception:
    The WS-Management service cannot process the request. The WMI service or the WMI provider returned an unknown
    error: HRESULT 0x80041033

    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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →

    Hi Andrew,

    This was a known issue that should be fixed on both WMF 5 RTM and the latest version of Windows 10.

    I know that you’re still patiently awaiting the final release of WMF 5 RTM. If you still run into this problem after the RTM release (or if you run into the same problem on a fully patched Windows 10 machine), feel free to post back here.

    Thanks,
    Joey

  12. Using Microsoft.PowerShell.Archive module in earlier versions

    I can get the v5.0 archive module to work in earlier versions of Powershell by changing lines 727, 798, and 801 from "new" to New-Object as shown here:

    $buffer = New-Object byte[] $bufferSize

    $srcStream = New-Object System.IO.BinaryReader($currentFileStream)

    $destStream = New-Object System.IO.BinaryWriter($currentArchiveEntry.Open())

    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 →
  13. Azure DSC VM Extension 2.10 'AddressWidth' bug

    When deploying the Azure DSC Extension on 2008 R2 x64 VMs with more than one processor, the Extension fails to install with the following error:

    [ERROR] Property 'AddressWidth' cannot be found on this object. Make sure that it exists.

    The issue exists within the 'Install.psm1' module, function GetOSVersion. The function attempts to determine the architecture of the VM's processor using the following code:

    $processor = Get-WmiObject Win32_Processor

    and then checks the architecture with this:

    IsX64 = $processor.AddressWidth -eq 64

    but on this and other machines, more than one 'Win32_Processor' object is returned with the Get-WMIObject call, thus $processor is an…

    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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  14. PowerShell Gallery Page still links to Connect

    Please update the PowerShell Gallery website to remove the reference to Connect

    Example is at the bottom of the following page in the Got a question? Have feedback? section

    http://www.powershellgallery.com/

    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  ·  Package Management  ·  Flag idea as inappropriate…  ·  Admin →
  15. Online help for Get-Clipboard and Set-Clipboard on PS5 is not available

    [PS5.0.10586.51 running on Windows 7 SP1]

    'get-help get-clipboard -online' links to https://technet.microsoft.com/library/cc732148.aspx

    The title of that page is "Windows Server Future Resources" (???)

    It contains "The document that you are attempting to access is not available yet. "

    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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  16. Zip files created using Compress-Archive cmdlet don't contain folders

    The Compress-Archive cmdlet doesn't seem to play nicely with other operating systems. When I use 7-Zip's "Test Archive" function on a zip created with Compress-Archive, the result shows no folders.

    I have a more detailed explanation of the issue on the StackOverflow question I posted here:

    https://stackoverflow.com/questions/34248903/why-wont-shopify-accept-my-themes-zip-file-when-compressed-using-powershell

    2 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 →
  17. 6 years old bug with powershell copy-item!

    Votes from Connect: 8

    Original Date Submitted: 4/9/2015 9:24:03 AM

    Description:
    Contact Information
    Handle: 响叮咚
    Site Name: PowerShell
    Feedback ID: 1234983


    Frequency: PowerShell
    Regression:

    Problem Description:
    【version】
    all version.
    from powershell 2.0 to powershell 5.0 in windows 10 preview 10049!

    【reason】
    copy-item parameter "-exclude" don't work !

    many man say this problem 6 years before.has yet to repair.
    look:
    http://poshcode.org/3475
    http://stackoverflow.com/questions/731752/exclude-list-in-powershell-copy-item-does-not-appear-to-be-working

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

    Repro Steps:
    Expected Results:

    Internal BugId: 14373

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  18. !($a[0]=[psobject]($a=,0))

    That command crash PowerShell with StackOverflowException.

    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 →
  19. Parameter validation attributes incompatible with scriptblock GetNewClosure()

    Votes from Connect: 4

    Original Date Submitted: 7/17/2014 11:38:44 PM

    Description:
    Contact Information
    Handle: Burt.Harris
    Site Name: PowerShell
    Feedback ID: 922679


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

    Problem Description:
    Calling scriptblock's GetNewClosure() in a function with parameter validation attributes on its paramters causes an error. The error message says:

    "Attribute cannot be added because it would cause the variable Options with value to become invalid."

    See http://stackoverflow.com/questions/19775779/powershell-getnewclosure-and-cmdlets-with-validation/24766059#24766059 for discussion on this, and the workaround I found.

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

    Repro Steps: …

    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 →
  20. DSC: MSFT_DscLocalConfigurationManager CIM class's PerformRequiredConfigurationChecks method's flags parameter is undocumented

    Votes from Connect: 7

    Original Date Submitted: 8/21/2014 8:09:48 AM

    Description:
    Contact Information
    Handle: Aaron Jensen
    Site Name: PowerShell
    Feedback ID: 951297


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

    Problem Description:
    MSFT_DscLocalConfigurationManager CIM class's PerformRequiredConfigurationChecks flags parameter is undocumented. Page http://msdn.microsoft.com/en-us/library/dn469248.aspx simply says: "Flags: Specifies the TBD."

    Please document these flags.

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

    Repro Steps:
    Expected Results:

    Internal BugId: 8961

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

Feedback and Knowledge Base