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. Register-PSRepository fails against authenticated endpoints

    In PowerShellGet 1.0 you could add and use an authenticated endpoint. In 1.0.0.1 the Ping-Endpoint function gets a 401 against authenticated endpoints. This prevents internal authenticated repos from being added.

    7 votes
    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 →
  2. If module version is not specified, composite configurations fail to load

    BUG
    Version occurs in: WMF5 Production Preview
    Previous versions? No.

    In a composite configuration scenario, if one of the composite resources contains an import-dscresource statement, and multiple versions of the module are available, the resource fails to load unless a moduleversion is specified.

    The resource works fine if there is only one version available on the machine in question, or a minimum version is specified.

    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 →
    investigating  ·  Mark Gray responded

    Justin,

    This behavior is common to all DSC resources, if I understand your issue correctly. If there are multiple versions of a module installed on your authoring system, you must specify the version that you intend to use in your configuration.

    What behavior are you expecting?

    MarkG

  3. Execute indepenent dsc steps in parallel

    Votes from Connect: 3

    Original Date Submitted: 6/8/2015 2:40:45 PM

    Description:
    Contact Information
    Handle: aL3891
    Site Name: PowerShell
    Feedback ID: 1411231


    Problem Description:
    At the moment all dsc resources are executed serially. given that dependencies are allready specified, it would in theory be safe to execute steps in parallel.

    I'm guessing this is planned at some point but i could really use a way to enable parallel execution because I'm using dsc to spin up test environments with a bunch of services and having those being set up in parallel would speed things up considerably.

    Product Studio item created by…

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

    We’ll send you updates on this idea

    investigating  ·  2 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  4. Bug: JEA .psrc capabilities file selected from the wrong RoleCapabilities module folder

    With PSVersion 5.0.10586.63 on Windows 10 and Server 2016 TP4, when using Register-PSSessionConfiguration to create a new session endpoint using a .pssc file, and that .pssc file uses RoleDefinitions for the sake of Just Enough Admin (JEA), the wrong .psrc file from the wrong RoleCapabilities folder may be selected.

    It appears that, when registering the endpoint, the $env:PSModulePath folders are searched in alphabetical order for any module folder, no matter what the name, that happens to have a subdirectory named RoleCapabilities within it, and, when found, if a correctly-named .psrc JEA capabilities file is found, that .psrc file is used…

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

    We’ll send you updates on this idea

    3 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  5. ISE hangs after using a Windows Forms dialog

    Votes from Connect: 12

    Original Date Submitted: 4/4/2015 8:50:49 AM

    Description:
    Contact Information
    Handle: Arnoud Jansveld
    Site Name: PowerShell
    Feedback ID: 1224213


    Frequency: PowerShell ISE
    Regression: function Show-Form
    {

    [reflection.assembly]::LoadWithPartialName("System.Windows.Forms") >$null
    
    $form = New-Object System.Windows.Forms.Form
    $label = New-Object System.Windows.Forms.Label
    $label.Text = "Please close this form"
    $label.AutoSize = $true
    $form.Controls.Add($label)
    $form.ShowDialog()

    }

    $result = Show-Form

    Workaround (slow):

    $result = Start-Job ${function:Show-Form} | Receive-Job -Wait -AutoRemoveJob

    "Form result: " + $result.ToString()

    Write-Warning "The following step may hang PowerShell ISE, save your work!"
    Read-Host -Prompt "Hit Enter or Ctrl-C to abort"

    This generates a WM_SETTINGCHANGE broadcast message

    Problem Description:
    After using ShowDialog() to…

    29 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 →
  6. Out-GridView needs a -DisplayProperty parameter

    Votes from Connect: 42

    Original Date Submitted: 4/10/2015 11:19:28 PM

    Description:
    Contact Information
    Handle: Trevor Sullivan [MVP]
    Site Name: PowerShell
    Feedback ID: 1238786


    Problem Description:
    The Out-GridView command displays all of the properties of each object that is fed into it. Consequently, in order to make the tool more usable, the Select-Object command can be used to inclusively filter the key properties of each object, to display to the end user. Unfortunately, this process results in a modified object, that cannot be used for all intended purposes.

    Instead of using Select-Object, a -DisplayProperty parameter should be added to Out-GridView, so…

    30 votes
    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 →
  7. [System.ServiceProcess.ServiceController] should add StartType to its formatting

    Get-Service | Format-List
    Get-Service | Format-Table

    should display the "StartType" column, i.e. "StartType" should appear in "System.ServiceProcess.ServiceController" <TableControl> and <ListControl> in DotNetTypes.format.ps1xml.

    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 →
  8. Move ISE add-ons to Powershellgallery

    ISE links currently to the ""Add-on Tools Website (http://social.technet.microsoft.com/wiki/contents/articles/2969.windows-powershell-ise-add-on-tools.aspx).

    Automated installation with a PSRepository (like Powershellgallery) would be nice.

    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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  9. Bug: PSWA 5.0 ignores Set-Location in profile script

    I had previously setup PSWA 4.0 that executed a profile.ps1 script at logon to resize the console, add snapins, and drop the user into a UNC network location where the scripts are contained. I upgraded to PS 5.0 on Friday and now when users login, all elements of the script work EXCEPT Set-Location. I have tried to cd to a local path instead of UNC, which also did not work. There are no errors or warnings. If I execute the startup script after I am already logged in to the PSWA, it executes properly and changes to the UNC path.…

    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 →
  10. #region / #endregion code folding tokens in ISE should not be case sensitive

    Votes from Connect: 17

    Original Date Submitted: 5/23/2012 8:29:13 PM

    Description:
    Contact Information
    Handle: HalR
    Site Name: PowerShell
    Feedback ID: 743272


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

    Problem Description:
    I've been using #REGION/#ENDREGION tokens in my code for some time to trigger code folding in various editors (e.g. PowerShellPlus and PowerGUI). The new v3 ISE supports this too which is great--but it's case sensitive for some reason. I consider that a bug and would love to see it made case-insensitive.

    Product Studio item created by Connect Synchronizer due to creation of feedback ID…

    24 votes
    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 →
  11. WMF 5.0 executing ScriptBlock over WinRM 2.0 fails

    Following c
    Code below will output only 1 but not when source from WMF 5.0 computer to WinRM 2.0

    Invoke-Command -ComputerName Windows2008box -ScriptBlock {Write-Output 1; Write-Output 2 }

    https://social.technet.microsoft.com/Forums/windowsserver/en-US/679bb655-4322-445c-8b7d-1f736c105489/can-somebody-verify-if-this-is-a-bug-in-wmf-50?forum=winserverpowershell

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  12. PowerShell Should Ship all its Modules through a NuGet-like service

    Votes from Connect: 63

    Original Date Submitted: 11/29/2012 12:00:27 AM

    Description:
    Contact Information
    Handle: Joel 'Jaykul' Bennett
    Site Name: PowerShell
    Feedback ID: 772530


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

    Problem Description:
    The PowerShell team should ship it's modules via a Module Repository (like NuGet), and add commands for retrieving and installing modules to the Core module.

    They should use that mechanism to further separate releases from the Windows Server ship schedule. In fact, I suggest that you should externalize all of the non-core modules (everything which is currently loaded on-demand) to separate them from the…

    12 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 →

    Thanks for the suggestion. This is something we are investigating, but it requires some complex review to ensure proper operation across a range of Windows actions (eg: applying Windows updates). No decision has been made at this time.

  13. Add MaintenanceWindow paramters to PartialConfiguration DSC

    Votes from Connect: 4

    Original Date Submitted: 12/13/2014 2:03:27 AM

    Description:
    Contact Information
    Handle: RobCannon
    Site Name: PowerShell
    Feedback ID: 1053308


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

    Problem Description:
    I would like to a parameter in a PartialConfiguration section to specify a time period.

    Some configurations would always be running and could fix configuration drift. But other configurations (that would cause a service disruption if applied) could be target to only run during a specified maintenance window. The window parameter should allow you to specify a time window and either a day of the week…

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

    We’ll send you updates on this idea

    investigating  ·  0 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  14. MOF Files Include Authoring Metadata

    Votes from Connect: 4

    Original Date Submitted: 8/20/2014 2:21:09 AM

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


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

    Problem Description:
    When converting configuration blocks to .mof files, they .mof files contain authoring metadata that causes the .mof file's contents and checksum to change, even when none of the configuration in the .mof file has changed. This makes it hard to know when a .mof file's configuration has really changed or not. All .mof files essentially look like they are always changing. This makes…

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

    We’ll send you updates on this idea

    investigating  ·  0 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  15. Wrong output in CIM cmdlets like Get-SmbShareAccess, Enable-NetAdapterChecksumOffload, etc.

    (Originally posted in https://connect.microsoft.com/PowerShell/feedback/details/1852524)

    Standard CIM cmdlets can produce invalid output. I reproduced the problem with
    two commands — Get-SmbShareAccess and Enable-NetAdapterChecksumOffload.
    I also believe that the problem is not limited to these particular commands.

    Below is an example of me executing 'Get-SmbShareAccess C$, D$' twice. Please
    note that the first output is incorrect and it shows 6 entries for C$, instead
    of expected 3 entries for C$ and 3 entries for D$:

    PS C:&gt; Get-SmbShareAccess C$, D$

    Name ScopeName AccountName AccessControlType AccessRight


    C$ * BUILTIN\Administrators Allow Full
    C$ * BUILTIN\Administrators Allow Full
    C$ * BUILTIN\Backup Operators Allow Full …

    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  ·  WMI  ·  Flag idea as inappropriate…  ·  Admin →
  16. BUG: DSC resource name cannot start with a number if another resource depends on it

    I have a resource named [xHotfix]2012R2_April2014CU and if I use that in the depends on field for another resource, I get this error:

    Test-DependsOn : The format of the resource reference '[xHotfix]2012R2CU1' in the Requires list for resource '[xHotfix]2012R2April2014CU::[ContosoWindowsUpdates]SampleConfig' is not valid. A required resource name should be in the format '[<typename>]<name>', with alphanumeric characters, spaces, '', '-', '.' and '&#39;.

    If I add an alpha character to the resource name, then it generates correctly.

    xHotfix 2012R2_CU1

        {
    
    Path = &quot;$InstallRoot\WindowsUpdates\2012R2\Windows8.1-KB2919355-x64.msu&quot;
    Id = &quot;KB2919355&quot;
    Ensure = &quot;Present&quot;
    DependsOn = &quot;[WindowsFeature]DotNetFX3dot5&quot;
    }

    xHotfix 2012R2_April2014CU
    {
    Path =…

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

    Thanks for the feedback!

    We have looked into this issue and cannot seem to reproduce it in the latest builds WMF 5.0 RTM. Please try to reproduce it with the RTM bits and let us know if you still have the issue.

    Regards,

    MarkG

  17. Get-DscConfiguration Fails With Embedded CIM type

    Votes from Connect: 3

    Original Date Submitted: 8/28/2015 4:09:14 AM

    Description:
    Contact Information
    Handle: Steve Murawski
    Site Name: PowerShell
    Feedback ID: 1721560


    Frequency: Desired State Configuration (DSC)
    Regression: install-module cWebAdministration
    configuration cWebsite_StopWebsite
    {

    param
    
    (
    # Target nodes to apply the configuration
    [string[]]$NodeName = &#39;localhost&#39;
    )

    # Import the module that defines custom resources
    Import-DscResource -ModuleName cWebAdministration

    Node $NodeName
    {
    # Install the IIS role
    WindowsFeature IIS
    {
    Ensure = &quot;Present&quot;
    Name = &quot;Web-Server&quot;
    }

    # Stop the default website
    cWebsite DefaultSite
    {
    Ensure = &quot;Present&quot;
    Name = &quot;Default Web Site&quot;
    State = &quot;Stopped&quot;
    PhysicalPath = &quot;C:\inetpub\wwwroot&quot;
    DependsOn = &quot;[WindowsFeature]IIS&quot; …

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

    This should be resolved with WMF 5.0. Please let us know if this is reproducible with WMF 5.0 RTM.

  18. Service DSC resource should not have a default $State

    The Service DSC resource defaults to state = running. It would be great to be able to say "I want to make sure the service is installed, but I don't care what state it's currently in."

    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 →
    investigating  ·  Mark Gray responded

    Thanks for the feedback!

    We will take this into consideration in a future release.

    MarkG

  19. BUG : WMF5 RTM Pull Server HTTPS

    I have setup new DSC Pull Server HTTPS with WMF 5 RTM on Windows server 2012 r2 .

    Any client with WMF 5 RTM installed is able to pull configuration from Pull Server without certificate installed on the machine .

    Even if AllowUnsecureConnection is set to $false in LCM .

    I have tested that on WMF 4.0 machines and I'm getting error if the certificate is not presented .

    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 →
    investigating  ·  Mark Gray responded

    Mariusz,

    Thanks for the feedback!

    We are attempting to investigate this issue but need more details from you in order to make progress.

    Is the issue that you are running into as follows:
    - WMF 5. based DSC Pull Server configured with HTTPS and server certificate installed properly. I assume this is not a certificate issued by a trusted authority, correct?
    - A WMF 5.0 RTM client does not have the trusted SSL certificate installed in the trusted root folder and the client is able to successfully connect to the Pull Server.
    - A WMF 4.0 client fails to connect when it does not have the trusted root cert installed.

    Please let us know if this is or is not what you are experiencing.

    Thanks, again,

    MarkG

  20. 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 →
1 2 4 Next →
  • Don't see your idea?

Feedback and Knowledge Base