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.

Please feel free to provide feedback or file bugs here.

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Copy headers when copying from Out-GridView

    It would be great to copy headers for all the columns when copying data from the Out-GridView table lists.

    2 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)

      We’ll send you updates on this idea

      survey  ·  0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
    • Ability to delete unlisted module with no downloads

      It would be nice to be able to delete a module that hasn't been downloaded yet and is unlisted. I made a mistake in publishing a module which I unlisted before anyone downloaded it. There is no benefit to me or anyone having it remain in the gallery.

      None of the follwing published reasons for disallowing deletions apply:

      1. Other items may depend on that item. Those items might not necessarily be in this gallery.
      2. Ensures that folks using items without committing the same will not be broken.
      3. Helps ensure that important community owned items are not mass…

      1 vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)

        We’ll send you updates on this idea

        0 comments  ·  PowerShell Gallery  ·  Flag idea as inappropriate…  ·  Admin →

        We understand the ask, & are leaving it as Survey to gauge the interest level.

        For now, you can use the Contact Us link to specify the item & version that you want deleted. Specify why you feel that this is something that should not be left in the Gallery, providing more detail is likely to help.
        The Gallery operations team will investigate and, if it meets what is actually a very high bar, will delete it.

      • Bug: Here string - When using invoke-command when here string starts with [

        Using a here string to create an LCM file using a Hyper-V VM and invoke-command.
        If the here string starts with [ the file created is blank if viewing with get-content. Viewing the file with PSEdit, the file is full of squares.

        Code used to generate this:

        $lcmscript = @'
        [DSCLocalConfigurationManager()]
        configuration LCMPush
        {
        Node $AllNodes.Where{$_.Role -eq "Primary DC"}.Nodename
        {
        Settings
        {
        RebootNodeIfNeeded = $true
        ActionAfterReboot = 'ContinueConfiguration'
        ConfigurationMode = 'ApplyAndAutoCorrect'
        CertificateID = "REPLACEWITHFRESHLYCREATEDTHUMBPRINT"
        }
        }
        }

        # Create the computer.meta.mof in folder
        LCMPush -configurationData c:\dsc\dscconfigdata.psd1 `
        -OutputPath c:\dsc\LCM
        '@

        Invoke-Command -VMName $vmname -Credential $cred -ScriptBlock { New-Item c:\dsc\lcm -ItemType…

        1 vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)

          We’ll send you updates on this idea

          0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
        • Add option for New-WebServiceProxy to use existing assembly

          New-WebServiceProxy dynamically generates a new assembly with the types for a web service and adds it to the AppDomain every time it's called, even for the same URI with the same credentials.

          Please add a parameter to New-WebServiceProxy that will allow it to use an existing assembly if possible. Even if the caller had to specify the assembly, that would be helpful.

          1 vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)

            We’ll send you updates on this idea

            0 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
          • workflow common parameters

            The WorkflowCommonParameters entry is missing from help for workflows.

            PowerShell workflows have both common parameters and workflow common parameters.

            Get-Help help for workflows has an entry in the Parameters section for CommonParameters, but not for WorkflowCommonParameters. It needs both.

            1 vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)

              We’ll send you updates on this idea

              0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
            • Enable-NetLldpAgent not useful

              The Enable-NetLldpAgent , in order to be useful in proper management of a network, should allow setting TLV subtypes.
              Or...........Some options I would prefer:
              set TLV 1 to ID subtype 5 (network address) instead of subtype 4 (MAC address)
              set TLV 2 to ID subtype 5 (interface name) instead of 3 (MAC address)

              include the optional TLV 5 system name

              MAC address is easily obtained by other networking tools. Using this as the information for mandatory TLVs is redundant and useless.

              1 vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)

                We’ll send you updates on this idea

                1 comment  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
              • Test-Connection timetolive parameter should be renamed to HopLimit

                TimeToLive is a misnover for HopLimit. Though this has been corrected in the IPv6 rfc, Test-Connection still references this parameter as TimeToLive, which leads to confuse it with a timeout.

                3 votes
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  1 comment  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                • encourage youth to PowerShell

                  It would be a great motivation for young admins (e.g. students) to start learn PowerShell if it out of a box has commands concerning desktop computers in a workgroup environment. I think of managing local users, groups, dealing with screen resolution or power management, system updates - just simple stuff for everyday use.

                  2 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                  • Property UserName and UserGroupName of Add-PswaAuthorizationRule command don't work

                    OS : Windows Server 2016

                    The command prompt an error when I add authorization rule in PowerShell Web Acces. It's syntax error : "domain/user".

                    But, this is my commande :
                    Add-PswaAuthorizationRule -ComputerName SRVDC01 -UserName 'FRPSUG\Test' -ConfigurationName Microsoft.PowerShell

                    It's same issue with group, no quote, simple quote, double quote, local user...

                    1 vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      0 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                    • WhatIf switch does not work on cmdlet Install-AdcsCertificationAuthority

                      The whatif switch is not working when installing a ADCS with the cmdlet Install-AdcsCertificationAuthority. The cmdlet is executed in full.
                      I blogged about it here:
                      https://mssec.wordpress.com/2016/02/18/installing-ca-via-powershell-whatif-not-working/
                      Jeffery Snover himself asked me on Twitter to submit a bug reort on this, see here:
                      https://twitter.com/jsnover/status/827524167465525249

                      1 vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        0 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                      • Bug: Final line of Format-Hex output repeats previous line after EOF

                        When using Format-Hex ( PowerShell version 5.0.10586.672 as returned by $PSVersionTable.PSVersion ), at least with the "-path" parameter, the final line of output -- if more than 1 line of output -- will duplicate the previous line's characters, starting with the first position after the final character of the file.

                        Meaning, if there are two rows of output ( each row displaying 16 characters ) and the file naturally ends at the third character position (i.e. "02") in the second (and final) row, then character positions 4 - 16 (i.e. "03" - "0F") will duplicate character positions 4 - 16…

                        1 vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                        • WinUserLanguageList : InputMethodTips has been documented as Read\Write but is only Read

                          PS C:\Users\Administrator> $objLanguageList=New-WinUserLanguageList -Language us-US

                          PS C:\Users\Administrator> $objLanguageList[0].InputMethodTips="0409:0000040C"
                          'InputMethodTips' is a ReadOnly property.
                          At line:1 char:1
                          + $objLanguageList[0].InputMethodTips="0409:0000040C"
                          + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo : InvalidOperation: (:) [], RuntimeException
                          + FullyQualifiedErrorId : PropertyAssignmentException

                          PS C:\Users\Administrator> $objLanguageList |Get-Member -Name InputMethodTips

                          TypeName: Microsoft.InternationalSettings.Commands.WinUserLanguage

                          Name MemberType Definition
                          ---- ---------- ----------
                          InputMethodTips Property System.Collections.Generic.List[string] InputMethodTips {get;}

                          PS C:\Users\Administrator>

                          1 vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            2 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                          • MSFT_WebDownloadManager issue

                            Hi there,
                            Please advise on the following failure I am facing while trying to apply DSC changes on the remote machine:
                            "
                            PS C:\Windows\system32> Set-DscLocalConfigurationManager -Path .\LCMPullMode
                            Undefined class: MSFT_WebDownloadManager
                            At line:15, char:2
                            Buffer:
                            Connection = True;
                            };^
                            ins
                            + CategoryInfo : SyntaxError: (root/Microsoft/...gurationManager:String) [], CimException
                            + FullyQualifiedErrorId : MiClientApiError_Failed
                            + PSComputerName : be-lab-v17
                            "

                            Thanks in advance,
                            Ofer

                            1 vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              1 comment  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                            • 3 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                1 comment  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →

                                Would be interested in understanding the scenario where you are using the cmdlet & specifying the reason for rebooting. To explain: our previous assumption was that users would EITHER use the server UI that captured this information, OR use the cmdlet (often so they didn’t need to supply that reason text).
                                So, what would help is to understand in what situations the cmdlet is being used and specifying the reboot explanation is desirable.

                              • PowerShell Classes: methods with hyphenated names - of course

                                Good evening

                                We really miss the days where Microsoft followed its own best practices.

                                We all know - and most love - the verb-noun naming convention in PowerShell.

                                Therefore, we have the very basic question:
                                Why isn't it allowed to create verb-noun method names in PowerShell classes??
                                (hyphenated names are not allowed)

                                This is really annoying, because we are forced to break the naming conventions.

                                Kind regards,
                                Tom

                                1 vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                                • Add a rich GPO provider

                                  I'd like to see a good, rich GPO provider. One that would allow me to do a set-location to some node in any .ADM/.ADMX we have loaded, would allow me to load/remove ADMXs from scope, and get/set/new any value.

                                  The idea is to enable IT Pros to automate fully any setting in any GPO object.

                                  3 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                  • WMF 5.1 RestrictedRemoteServer session type fails to import the 'Microsoft.PowerShell.Utility' module

                                    When importing this module in a restricted session type or when making a function or a cmdlet from this module visible, i.e:
                                    VisibleFunctions = 'Get-FileHash'
                                    the following message is returned:
                                    WARNING: The 'Microsoft.PowerShell.Utility' module was not imported because the 'Microsoft.PowerShell.Utility' snap-in was already imported.
                                    In practice, the module is not being imported.
                                    Get-PSSnapin shows that a snapin with the same name is indeed loaded:
                                    Name : Microsoft.PowerShell.Utility
                                    PSVersion : 5.1.14409.1005
                                    Description : This Windows PowerShell snap-in contains utility
                                    cmdlets that are used to view and organize data in different ways.
                                    but exposes no commands
                                    Get-PSSnapin from a regular (not remote)…

                                    1 vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      1 comment  ·  WinRM  ·  Flag idea as inappropriate…  ·  Admin →

                                      This report is a bit confusing, so need some information.
                                      On the system where you received this error, please try running any of the commands from Microsoft.PowerShell.Utility, such as get-member, or get-date. The error message and the information you provided seems to indicate that the module is already loaded, so we are looking for other indications that it is not.

                                    • Get-AppxPackage not accepting pipeline input

                                      The Get-AppxPackage command does not appear to accept pipeline input.

                                      These work:

                                      Get-AppxPackage -Name "9E2F88E3.Twitter"
                                      Get-AppxPackage "9E2F88E3.Twitter"
                                      "9E2F88E3.Twitter" | Foreach { Get-AppxPackage $_ }

                                      These do not work and return nothing at all:

                                      "9E2F88E3.Twitter" | Get-AppxPackage
                                      "9E2F88E3.Twitter" | Select @{ Name="Name"; Expression={$_} } | Get-AppxPackage

                                      Using the -Verbose parameter simply gives:

                                      VERBOSE: No packages found.

                                      1 vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        1 comment  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Bug in Get-ScheduledTaskInfo

                                        At the time's properties (LastRunTime and NextRunTime) returned minutes instead of seconds.
                                        Sample:
                                        Get-ScheduledTask | Get-ScheduledTaskInfo

                                        1 vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          0 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                                        • When I try to display 2 arrays, no header and only the column with same name is returned

                                          After loading 2 arrays that have one member with same name, I try to display the content in different ways ($array1;$array2, get-content from csv files where I saved the content of the arrays, ...), but after the first array shows perfectly, of the second one I only get the content of the first column (the one that has the same name) and no header.
                                          To reproduce:

                                          $Array1 = @()
                                          $Array2 = @()

                                          $Ar1 = New-Object PSCustomObject
                                          $Ar1 | Add-Member -type NoteProperty -name Col1 -Value "AAA"
                                          $Ar1 | Add-Member -type NoteProperty -name Col11-Value 0
                                          $Array1 += $Ar1

                                          $Ar2 = New-Object PSCustomObject …

                                          1 vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

                                            0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 53 54
                                          • Don't see your idea?

                                          Feedback and Knowledge Base