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. |
-
Allow dot sourcing PowerShell Classes based DSC Resources into the psm1 module file
WMF 5.0 lets you create DSC Resources using Powershell Classes like so:
[DscResource()]
class MyDSCResource
{
...
}But right now it will only look in the .psm1 file. If you try to dot source a class based DSC resource into the .psm1 file then Get-DSCResource can't find it and it can't be used in DSC configurations.
We have many DSC resources combined into a single module, and our .psm1 file is getting difficult to manage. If two people are working on different resources they are likely to have a git merge conflict.
We would prefer to have…
6 votesWe are working on enabling support for multiple psm1 files. This will allow you to group different class-based DSC resources into different files.
-
BUG: Using ConfigurationNames generates a weak certificate
If a Node is configured using a RegistrationKey so that ConfigurationNames can be used, then the CertificateID attribute is ignored under the ConfigurationRepositoryWeb block, and instead a self-signed certificate is generated called "DSC-OaaS".
This certificate is used for both client authentication to the pull server as well as encrypting configuration Mofs at rest on the server host.
The problem is two fold:
Becuase the CertificateID gets ignored when using CONfigurationNames, admins cannot control the key length or encryption of the files.
The certificate generated is a SHA-1 1024bit length. This is completely unacceptable as 1024 went out of use years…
6 votes -
Issue with DSCFileDownloadManager Credentials
So, it seems as though in WMF 5.0 there is a regression in functionality. In WMF 4.0, you could set up a DSCFileDownloadManager and Credential to have a Target Node contact a Pull Server SMB Share and download new mof files and resources. Everything worked perfectly including Certificate based encryption of the credentials. However, in WMF 5, it seems as though the LCM of the Target Node attempts to contact the SMB Share Anonymously, even in credentials are provided. Now, in a Non domain joined environment, you can just provide EVERYONE full control and then change Local Security Policy such…
1 voteThis bug has been identified and the issue has been resolved. The fix will be available in future releases, including the Windows Insider Fast Ring preview
-
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 StopProblem Description:
Version: WMF 4 with 2014 November Update on Windows Server 2012 R2I`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 voteThis issue has been fixed in internal builds and should soon be validated on flighted builds and will make into WMF 5.1
- Don't see your idea?