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 description of ComputerName parameter for Install-WindowsFeature

    Documentation says "Installs one or more available on a specified remote computer. "

    Should say something among the lines: "Installs one or more available roles, role services, or features on a specified remote computer."

    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 →
  2. epoch time

    So I was able to finally figure out how to convert time to epoch time for talking with linux systems, but I don't feel it should be this difficult and/or hard to find documentation.

    $epochTime = ( get-date(get-date).ToUniversalTime() -UFormat "%s" )

    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. urgh: can't you put up a picture of all the different profile precedent rules - very confusing.

    Short Version: Please put up a diagram showing exactly which profiles get called by which hosts in which order !

    I have recently starting using ISE - having previously just used the Console. Now I am using both. So they apparently have two different profiles. So I tried to copy my existing one - but then (because I use aliases) I get a 'double-loading' effect. Also I'm on powershell 4.0, but my $pshome still have v1.0 in the path ? Additionally: when I tried editing a profile.ps1 from a Windows explorer - it was showing as an empty file in…

    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 →
  4. Needs a robust interactive help

    It really needs some sort of interactive help option that can be turned on where it gives the user a heads up display of what options are available and what arguments, if any, are required for the command... Sort of like how VBA for Office worked or the Visual Studio editor... Complete with a mouse hover detailed description and links like the normal Windows Help has...

    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 →
  5. Error in Keywords section of About_WorkFlowCommonParameters

    In the help text aboutWorkFlowCommonParameters, in the KEYWORDS section of the full text, it shows two about* files. The first (AboutWorkFlowCommonParameters) does not exist.

    0 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 →
  6. Error in About_WorkflowCommonParameters

    In the About_WorkFlowCommonParameters, there is an error in the example describing the -PSParameterCollection, The example reads:
    -PSParameterCollection @{

         PSComputerName="Server01";  PSElapsedTimeoutSec=10;
    
    PSConnectionRetryCount=6},
    @{PSComputerName="*"; PSElapsedTimeoutSec=20}

    In the second hash table, the example has '*' for the computer name. This is wrong - it needs a real computer name or PowerShell Gives and error.

    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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  7. Remove-EventLog help appears nonsensical

    Someone on powershell team ought to have a look at this: https://technet.microsoft.com/en-us/library/hh849786(v=wps.640).aspx

    The syntax section 'source' parameterset doesn't show usage of the source param.

    The documentation text under "-InformationAction<System.Management.Automation.ActionPreference]>" and "-InformationVariable<System.String]>" are identical, and appear irrelevant to this command.

    (Also, for the love of god, can we have a bigger text entry box here?)

    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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  8. ps5.0 manual bug 2:lack 'about_classes' item

    ps5.0 manual bug 2:lack 'about_classes' item

    there is little bug on ps5.0 manual in that web page.
    https://technet.microsoft.com/en-us/library/hh847856.aspx
    lack 'about_classes' item on web page main body.but there are in the list on the left.

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

    btw:
    ps5.0 manual bug 1 by me:
    https://connect.microsoft.com/PowerShell/feedbackdetail/view/2046551
    today is 2016-02-27,This bug 1 hasn't been repaired.

    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 →
  9. -New-NetTransportFilter LocalPortEnd<UInt16> has default port 1065

    Either provide explanation why start at 1065 & end at 65535 as defaults or correct the TechNet ?

    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 →
  10. Help for Install-Module does not reflect that -Force overrides repository installation policy

    The help document for Install-Module has the following text on the parameter -Force:
    -Force [<SwitchParameter>]

        Forces the installation of modules. If a module of the same name and version already exists on the computer,
    
    this parameter overwrites the existing module with one of the same name that was found by the command.

    This does not reflect that the parameter also makes Install-Module ignore the repository installation policy.

    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 →
  11. I wish the output properties of each cmdlet when used with System Center Virtual Machine Manager are somewhere documented.

    I wish the output properties of each powershell cmdlet when used with System Center Virtual Machine Manager are somewhere documented.

    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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  12. Get-Help Certificate -ShowWindow

    Pretty sure this is a bug. When I run

    Get-Help Certificate -ShowWindow

    The window outputs:

    @{CmdletHelpPaths=@{CmdletHelpPath=@{command=System.Management.Automation.PSObject[]; id=Certificate}}; DetailedDescription=System.Management.Automation.PSObject[]; Notes=; Capabilities=System.Management.Automation.PSObject[]; Drives=System.Management.Automation.PSObject[]; Synopsis=Provides access to X.509 certificate stores and certificates in Windows PowerShell.; DynamicParameters=@{DynamicParameter=System.Management.Automation.PSObject[]}; RelatedLinks=@{navigationLink=System.Management.Automation.PSObject[]}; Filters=System.Management.Automation.PSObject[]; Tasks=@{Task=System.Management.Automation.PSObject[]}; Name=Certificate; Category=Provider; Component=; Role=; Functionality=}

    I'm not a programmer (yet!) but I think this shouldn't be happening.

    6 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 →
  13. Syntax changes when using help like .Synopsis

    When I add a help section to my script, the Get-Help cmdlet displays a different syntax. Here is a MWE:

    Require -Version 4.0

    function global:Test-Syntax {

    &lt;#
    
    .Synopsis
    Cmdlet tests ValidateSet
    #&gt;
    [CmdletBinding()]
    # parameter check
    param (
    [ValidateSet(&quot;one&quot;, &quot;two&quot;, &quot;three&quot;)]
    [string]$testparam
    )
    Write-Verbose &quot;`$testparam: $testparam&quot;

    }

    Get-Help Test-Syntax shows the following in syntax section:

    SYNTAX

    Test-Syntax [[-testparam] &lt;String&gt;] [&lt;CommonParameters&gt;]
    

    After I remove .Synopsis or the whole help section, I receive the following from Get-Help:

    SYNTAX

    Test-Syntax [[-testparam] &lt;string&gt; {one | two | three}]  [&lt;CommonParameters&gt;]
    

    I would like to have the second one, because a user directly get the information…

    6 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 →
  14. Expand-Archive -DestinationPath is not mandatory

    In the help for Expand-Archive, the DestinationPath parameter is mandatory, but that's incorrect. It's optional and the default is the local directory.

    PS C:\ps-test> get-help expand-archive -Parameter destinationpath

    -DestinationPath <String>

    Specifies the path to the folder in which you want the command
    
    specify a file name or file name extension. This parameter is

    Required? true
    Position? 2
    Default value
    Accept pipeline input? false
    Accept wildcard characters? false

    PS C:\ps-test> (get-command expand-archive).ParameterSets.Parameters | where Name -eq DestinationPath | ft Name, IsMandatory

    Name IsMandatory


    DestinationPath False
    DestinationPath False

    Also, -Online still goes to the future site, even in late December 2016.

    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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  15. Documentation on Remoting Session Configuration is missing for PS5.0

    Help is missing on new options for WinRM remoting in PS 5.0

    get-help : No parameter matches criteria TranscriptDirectory.
    At line:1 char:1
    + get-help New-PSSessionConfigurationFile -Parameter TranscriptDirector ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidArgument: (System.Manageme...CommandHelpInfo:ProviderCommandHelpInfo) [Get-Help],
    
    PSArgumentException
    + FullyQualifiedErrorId : NoParmsFound,Microsoft.PowerShell.Commands.GetHelpCommand

    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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  16. Get-WmiObject examples contain real Dell Service Tag

    I do not know if this is something anybody actually has any concerns over, but I noticed that Example 6 listed for the Get-WmiObject cmdlet help contains a real Dell Service tag, at least in the PowerShell 3.0 documentation. I was able to track this service tag to an Optiplex 980 shipped on 1/20/2011. This may just be a Microsoft lab machine, but it seems like something that should be cleansed from the documentation. I feel a little foolish reporting this, and I'm not sure how hard it is to do anything with this number, but I thought I'd let…

    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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  17. Correction: about_requires

    In the about_requires documentation, when using a hashtable to provide a required module version or GUID, it's not clear that the values in the hash table need to be quoted. The example in the documentation is:

    Requires -Modules PSWorkflow, @{ModuleName="PSScheduledJob";ModuleVersion=1.0.0.0}

    and should be

    Requires -Modules PSWorkflow, @{ModuleName="PSScheduledJob";ModuleVersion="1.0.0.0"}

    5 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 →
  18. Update-Help : Failed to update Help for the module(s) 'ConfigCI' with UI culture(s) {en-US}

    Votes from Connect: 3

    Original Date Submitted: 11/26/2015 2:36:27 AM

    Description:
    Contact Information
    Handle: Firgeis
    Site Name: PowerShell
    Feedback ID: 2057856


    Frequency: Always Happens
    Regression: I do not know if this issue existed previously

    Problem Description:

    PS C:\Users\Administrator> Update-Help
    Update-Help : Failed to update Help for the module(s) 'ConfigCI' with UI culture(s) {en-US} : The
    HelpInfoUri key in the module manifest must resolve to a container or root URL on a website where
    stored. The HelpInfoUri 'https://technet.microsoft.com/library/cc732148.aspx&#39; does not resolve to
    At line:1 char:1
    + Update-Help
    + ~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [Update-Help], Exception
    
    + FullyQualifiedErrorId :
    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 →
  19. Cannot build a binary module referencing 3.0 SMA.dll on Windows 10 without having to retarget to .NET 4.5

    Votes from Connect: 5

    Original Date Submitted: 9/21/2015 7:09:45 AM

    Description:
    Contact Information
    Handle: Keith Hill MVP
    Site Name: PowerShell
    Feedback ID: 1816181


    Frequency: Other
    Regression: Try to build a binary module on Windows 10 RTM with VS 2015. Reference the 3.0 SMA.dll reference assembly. This will fail to compile.

    Problem Description:
    When I try to build PSCX on Windows 10 - referencing System.Management.Automation.dll version 3.0 in the C:\Program Files (x86)\Reference Assemblies folder, I get a build error in VS 2015:

    C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3275: The primary reference "System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" could not be resolved because it…

    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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  20. Bug Get-Help Get-Help -Full

    Votes from Connect: 1

    Original Date Submitted: 8/19/2015 6:21:37 PM

    Description:
    Contact Information
    Handle: H_Ski
    Site Name: PowerShell
    Feedback ID: 1686799


    Frequency: Documentation
    Regression:

    Problem Description:
    PSv4 and PSv5 with updated help (2015-august-19):

    .Input says: You can not pipe objects to Get-Help
    BUT
    Get-Help Get-Help -parameter name says: Accept pipeline input? true (ByPropertyName)

    In v5 if you do get-help get-help -full help for gcm and get-item also shows up.

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

    Repro Steps:
    Expected Results:

    Internal BugId: 15748

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

Feedback and Knowledge Base