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

  2. DSC Environment Resource Expands PATH Environment Variable

    Votes from Connect: 3

    Original Date Submitted: 11/25/2015 1:33:11 AM

    Description:
    Contact Information
    Handle: aolszowka
    Site Name: PowerShell
    Feedback ID: 2054029


    Frequency: Desired State Configuration (DSC)
    Regression: Prior to running the below DSC ensure that the environment variable is not already expanded/mangled, you can do this either by pulling up the System Environment Variables Dialog from System, or by querying the registry:

    REG.EXE QUERY "HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V "PATH"

    We should expect to see something similar to the following:

    HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

    PATH    REG_EXPAND_SZ    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\System32\WindowsPowerShell\v1.0\
    

    Create a new DSC Script with the following:

    Environment EnvVarPATHNotepad2

        {
    
    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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  3. Add PSValidFrom/PSValidTo common properties for DSC resources

    Votes from Connect: 10

    Original Date Submitted: 10/6/2015 1:58:16 AM

    Description:
    Contact Information
    Handle: PowerShellDon
    Site Name: PowerShell
    Feedback ID: 1871366


    Problem Description:
    Suggest adding a PSValidFrom and PSValidTo common property set (a la PSCredential). These would need to implicitly become part of the key when exporting the MOF. The idea is to help cover maintenance and task windows: From DateTime to DateTime, I want Service ___ Stopped; from DateTime to DateTime, I want it Started. So that becomes:

    Service BITS {
    Name=BITS
    Present=$True
    StartMode=Auto
    PSValidFrom=02:00:00UTC
    PSValidTo=21:00:00UTC
    }
    Service BITS {
    Name=BITS
    Present=$True
    StartMode=Disabled
    PSValidFrom=21:00:00UTC
    PSValidTo=02:00:00UTC
    }

    Considerations: DateTime could…

    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 →
  4. Update-DscConfiguration -Credential not working as expected

    Votes from Connect: 3

    Original Date Submitted: 9/25/2015 5:21:10 PM

    Description:
    Contact Information
    Handle: Jan Egil Ring
    Site Name: PowerShell
    Feedback ID: 1833443


    Frequency: Desired State Configuration (DSC)
    Regression: Update-DscConfiguration -ComputerName demohyper01 -Credential $TargetNodeCred -Wait -ErrorAction Stop

    Problem Description:
    Version: WMF 4 with 2014 November Update on Windows Server 2012 R2

    I`ve run into access denied errors when using alternate credentials on Update-DscConfiguration:

    PS C:> Update-DscConfiguration -ComputerName demohyper01 -Credential $TargetNodeCred -Wait -ErrorAction Stop
    VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = PerformRequiredConfigurationChecks,'className' = MSFT_DSCLocalConfigurationManager,'namesp
    aceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
    VERBOSE: An LCM method call arrived from computer DEMORD01 with user…

    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 →

    This issue has been fixed in internal builds and should soon be validated on flighted builds and will make into WMF 5.1

  5. Enable proactive validation of partial configuration MOFs

    Votes from Connect: 15

    Original Date Submitted: 9/15/2015 8:25:40 PM

    Description:
    Contact Information
    Handle: PowerShellDon
    Site Name: PowerShell
    Feedback ID: 1792984


    Problem Description:
    Currently, the only validation of partial configuration MOFs is in the client (LCM). If multiple MOFs are combined and there's a duplicate key situation, the LCM ceases processing. Having this happen on the target node - with no proactive change to catch the problem - is extremely undesirable, and doesn't set the stage for top-level manageability.

    I suggest refactoring that logic from the LCM into a standalone API. The LCM could then call that API to do…

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

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

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

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

    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.

  7. Add maintenance window awareness to DSC / LCM

    Votes from Connect: 17

    Original Date Submitted: 8/13/2015 12:17:49 AM

    Description:
    Contact Information
    Handle: PowerShellDon
    Site Name: PowerShell
    Feedback ID: 1659904


    Problem Description:
    Suggestion one:

    Add maintenance window awareness to the Local Configuration Manager. Edited via metaconfig, it specifies times when configuration changes are acceptable, when automated reboots are acceptable. Further automates configuration maintenance especially when you're implementing changes vs. correcting drift.

    Suggestion two:

    Add universal "DoNotImplementBefore" and "ImplementBy" settings to DSC resources. Just as "Present=" specifies to add/remove something, these would indicate a date/time for the setting to become valid (e.g., "we want to implement a bunch of changes,…

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

    We’ll send you updates on this idea

    3 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
    investigating  ·  Mark Gray responded

    Your votes on this and other features helps us in our feature prioritization.

    Thank you!!

    MarkG

  8. MSFT_RegistryResource.psm1

    Votes from Connect: 3

    Original Date Submitted: 7/22/2015 3:22:46 AM

    Description:
    Contact Information
    Handle: Alcaron
    Site Name: PowerShell
    Feedback ID: 1574517


    Frequency: Desired State Configuration (DSC)
    Regression: Set a registry key to the binary value of anything with a hex value that starts with 0, i.e.:
    ValueData = @("8232c580d332674f9cab5df8c206fcd8")

    That 06 towards the end there is what initially led me to track this down.

    Problem Description:
    Line: 926
    Is: $Data | % {$retString += [String]::Format("{0:x}", $_)}

    Should be: $Data | % {$retString += [String]::Format("{0:x2}", $_)}

    As it stands now any HEX value that starts with 0 has it's leading 0…

    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 →
  9. 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…

    36 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 →
  10. The Local Configuration Manager is not configured with a certificate.

    Votes from Connect: 4

    Original Date Submitted: 6/5/2015 1:21:21 AM

    Description:
    Contact Information
    Handle: Bob Dean IT Pro
    Site Name: PowerShell
    Feedback ID: 1399853


    Frequency: Desired State Configuration (DSC)
    Regression: Build the LCM meta configuration.
    Apply the LCM meta configuration to the target node.
    Execute update-dscconfiguration on the target node.

    Problem Description:

    The configuration for the LCM.

    [DscLocalConfigurationManager()]
    Configuration Meta
    {

    Node $AllNodes.NodeName
    
    {
    Settings
    {
    RefreshFrequencyMins = 30
    RefreshMode = "PULL"
    ConfigurationModeFrequencyMins = 60
    AllowModuleOverwrite = $true
    RebootNodeIfNeeded = $true
    ActionAfterReboot = "ContinueConfiguration"
    ConfigurationMode = "ApplyAndMonitor"

    }

    ConfigurationRepositoryWeb PullServer
    {
    ServerURL = $Node.PullServer
    RegistrationKey = "My Registration Key"
    ConfigurationNames…

    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 →
  11. Enable service restart and similar scenarios in DSC configurations

    Renamed from "Provide additional resource control methods in DSC" for clarity
    Votes from Connect: 13

    Original Date Submitted: 5/28/2015 12:15:20 AM

    Description:
    Contact Information
    Handle: Ben Gelens
    Site Name: PowerShell
    Feedback ID: 1373894


    Problem Description:
    Scenario:
    A MOF file is compiled for a node serving a website. The service resource is used to declare the W3SVC service to be started and the file resource is used to copy in the web content.
    Next an update is deployed to the website by compiling a new MOF file and for the new content to become active, the W3SVC service needs to be…

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

    We’ll send you updates on this idea

    3 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  12. Devices.edb does not exists when WMF5 is installed prior to deploying DSC Pull Server

    Votes from Connect: 5

    Original Date Submitted: 4/29/2015 2:50:27 AM

    Description:

    Contact Information
    Handle: Ben Gelens
    Site Name: PowerShell
    Feedback ID: 1286605


    Frequency: Desired State Configuration (DSC)
    Regression: Install a clean Windows Server 2012R2 system.
    Install WMF5 Feb preview.
    Download and install xPSDesiredStateConfiguration module.
    Run configuration:
    configuration PullSRV
    {

    Import-DSCResource -ModuleName xPSDesiredStateConfiguration
    
    xDscWebService PSDSCPullServer
    {
    Ensure = 'Present'
    EndpointName = 'PSDSCPullServer'
    Port = 8080
    PhysicalPath = "$env:SystemDrive\inetpub\wwwroot\PSDSCPullServer"
    ModulePath = "$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules"
    ConfigurationPath = "$env:PROGRAMFILES\WindowsPowerShell\DscService\Configuration"
    State = 'Started'
    CertificateThumbPrint = 'AllowUnencryptedTraffic'
    }

    }
    Setup an simple config and add it to configuration repo using GUID.MOF and generate a checksum

    Problem Description:
    The…

    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 →
  13. LCM on clean Windows 2012R2 with WMF 5.0 Feb preview don't apply configuration from Current.mof file.

    Votes from Connect: 3

    Original Date Submitted: 4/24/2015 8:39:47 PM

    Description:
    Contact Information
    Handle: Juris Krumins
    Site Name: PowerShell
    Feedback ID: 1274851


    Frequency: Desired State Configuration (DSC)
    Regression: Install Windows 2021R2, install WMF 5.0 Feb preview and put your mof configuration file to the C:\Windows\System32\Configuration with the Current.mof file name. Wait at least 15 min and LCM should start apply configuration.
    Works with Windows 2012 and WMF 5.0 Feb preview installed.

    Problem Description:
    Clean Windows 2012R2 box with WMF 5.0 Feb preview installed and configuration have been pushed as C:\Windows\System32\Configuration\Current.mof file. I can't see any signs in DSC Evenlog, that…

    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 →
  14. PowerShell DSC needs to support "Property Sets"

    Votes from Connect: 12

    Original Date Submitted: 3/24/2015 8:05:35 AM

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


    Problem Description:
    NOTE: I believe this functionality is already in progress, but I wanted to make sure it was documented in the official PowerShell feedback channel.

    PowerShell DSC Resources need the ability to support multiple "property sets" similar to the "parameter sets" that are

    Suggested implementation:


    1. Add a "PropertySetName" property to the [DscProperty()] attribute (eg. [DscProperty(PropertySetName = "PropertySet1", Key)]

    2. Add a private property (eg. $PropertySetName) to the [DscResource()] attribute, to ensure that the Get(), Test(), and Set()…
    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 →
  15. Inline help for DSC resource properties

    Votes from Connect: 38

    Original Date Submitted: 3/20/2015 9:34:20 PM

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


    Problem Description:
    To continue the trend of having built-in help with PowerShell structures, it would be great to add support for help documentation for DSC resource properties, in class-based DSC resources.

    My initial suggestion was to put comment-based help just prior to a [DscProperty()] declaration in a class, but Ravi suggested having a HelpMessage property added to the [DscProperty()] attribute, which I think is a better idea.

    Product Studio item created by Connect Synchronizer due to creation…

    9 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 →
  16. Enable authoring of DSC resources using c# in a similar way as with ps classes

    Votes from Connect: 3

    Original Date Submitted: 3/12/2015 9:51:57 PM

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


    Problem Description:
    We're now able to write DSC resources using classes in powershell and that is really great!

    Please also enable writing resources in c# in a similar way using a single class and attributes to mark properties and methods as their DSC equivalent. that would reduce alot of the friction for developers coming in to DSC from c#

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

    Repro Steps:

    Internal…

    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 →
  17. Invoke-DscResource - Should always be able to be run, no matter what RefreshMode is set to

    Votes from Connect: 3

    Original Date Submitted: 3/3/2015 7:34:33 AM

    Description:
    Contact Information
    Handle: Rob Reynolds (FerventCoder)
    Site Name: PowerShell
    Feedback ID: 1157802


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

    Problem Description:
    Why can Invoke-DscResource only be run when LCM.RefreshMode = 'Disabled'?

    Disabled is not the default. This means I need to make system level changes just so I can run commands with this method. This severely limits the usefulness of the command.

    I understand that you don't want competing resources, but that power should be handed over to the user to work with,…

    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 →
  18. DSC Please make sure key properties are unique for each resource in a node.

    Votes from Connect: 3

    Original Date Submitted: 1/29/2015 7:34:02 AM

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


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

    Problem Description:
    i've investigated DSC but found it to be almost unusable on any kind of scale since it seems every variable is stored in some global scope, not even quantified with step names.

    This makes it impossible to so something as simple as stopping and starting a service to update it, surely a common scenario. (Because the "Name" has to be unique)

    Even worse, trying to work…

    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 →
  19. 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 →
  20. DSC configuration fails if WinRM service restarts while the enact is in process

    Votes from Connect: 7

    Original Date Submitted: 10/20/2014 11:07:16 PM

    Description:
    Contact Information
    Handle: Ravikanth.Chaganti
    Site Name: PowerShell
    Feedback ID: 1006559


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

    Problem Description:
    When DSC configuration enact process is in progress (either push or pull), any interruption in WinRM service disconnects the CIM session and leads to failure of configuration. The inability to recover from wsman disconnection is an issue within a data center. There are many reasons why such a disconnection may happen and this needs to be fixed.

    Product Studio item created by Connect Synchronizer due to…

    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