Windows PowerShell Desired State Configuration is a tool akin Chef or Puppet, meant to automate keeping Windows servers in a known state.

learn more… | top users | synonyms

4
votes
2answers
104 views

WMF 4.0 & DSC on Vista? Any chance?

I am currently evaluating the Microsoft PowerShell Desired State Configuration feature. Unfortunately, my company is still running more then 5000+ Vista clients (and W2003 servers), which seems like ...
2
votes
1answer
36 views

How to do proper error handling in a push setup?

I am currently building a lab environment to get a feeling on what DSC can accomplish and where the limits are. We have a requirement to push out one-shot configurations to group of nodes based on ...
3
votes
1answer
52 views

DSC-Resource: How can I delete a registry key (not value)?

I know I can ensure the presens of a specific registry value by using the following scriptblock: Registry ConfigureRegistry { Ensure = "Present" Key = ...
6
votes
2answers
134 views

SSL Certificate management with Powershell DSC

I have a third-party issued certificate that I need to ensure is running on all targets in a given domain. Is there a way to ensure this certificate is installed by way of DSC?
5
votes
1answer
156 views

Protecting credentials in Desired State Configuration using certificates

I'm new to DSC and trying to figure out how to make it work for us. What I'm stuck on is how the credentials are actually protected. My current understanding is that it isn't all that great. The big ...
1
vote
1answer
44 views

no mof generated with composite resource - powershell dsc

I'm having an issue where the .mof file doesn't get generated when using a composite resource in it.The directory gets created fine and no errors are shown. It might be a simple issue to some fresh ...
2
votes
1answer
88 views

Install Exchange 2013 with DSC

I tried to install Exchange 2013 with the resource windowsProcess in existing Exchange Configuration. All prerequisites are installed (the Exchange Organization still exists). This is my Resource ...
1
vote
1answer
75 views

Desired State Config - Script Resource

I'm having some trouble understanding the DSC script resource, in particular the test and get phases. I am trying to change the default Hyper-V VHD and VM paths, but can't seem to work out how to ...
1
vote
0answers
40 views

Installing desktop-experience feature with DSC

I'm running into an issue when utilizing DSC to provision a machine. I'm trying to enable the windows feature 'desktop-experience' and then some others. My configuration looks like this: ...
1
vote
1answer
50 views

Is there a way to generate differences when a server is out of sync with DSC Configuration?

The following command can be used to determine if there has been configuration drift on a system: Test-DscConfiguration –CimSession $session The command only returns true or false. Is there a way ...
6
votes
1answer
90 views

Can a PowerShell DSC configuration file be created from a current system build?

Is there a way to build a PowerShell desired state configuration (DSC) configuration file from a current system? Opposed of building the entire file from scratch?
2
votes
1answer
2k views

Installation of Windows Management Framework 4.0 (Powershell 4.0) on Server 2012 failed

I've been trying to test PowerShell Desired State configuration on a Windows Server 2012 instance on Amazon EC2. I downloaded the Windows Management Framework 4.0 from the MS download center: Windows ...
2
votes
1answer
418 views

Nesting PowerShell DSC configurations from different files

If I nest DSC configurations in a single file like this, it works fine: Configuration Secondary { Param ($SomeParameter) Environment Test { Name = $SomeParameter Value = ...
4
votes
2answers
340 views

How to force DSC to execute all configurations (Packages) even when a restart/reboot is required

From MSDN RebootNodeIfNeeded: Certain configuration changes on a target node might require it to be restarted for the changes to be applied. With the value “true,” this property will restart the ...
6
votes
1answer
288 views

DSC, how to know if after running the configuration a reboot is required

So I'm using DSC Push mode I have about 200 deployments per day to several environments (DEV/INT/QA/PROD) Every time that I deploy I want to make sure that each server is configured correctly So ...
4
votes
1answer
551 views

PowerShell DSC Group Resource - “Could not find a principal with the provided name”

I am trying to use PowerShell DSC to add a domain group to the local administrators group. Here is the code: Configuration TestSetup { Node localhost { Group Administrators { ...
11
votes
4answers
2k views

PowerShell DSC copy from network share

I am trying to use PowerShell DSC to copy folder contents from a network share. Here is the code: Configuration TestSetup { Node localhost { File Test { SourcePath = ...
1
vote
1answer
134 views

powershell 4.0: Desired State Configuration requirements for remote clients

The whole DSC framework looks awesome, but I'm curious about the requirements of the remote machines. I create a custom MOF file and apply it to remove machines with Start-DscConfiguration (I'm ...
2
votes
1answer
158 views

How do I install Microsoft Exchange 2013 with Microsoft Powershell DSC?

We are working on a new build procedure. As a proof of concept, I wanted to install an Exchange 2013 server with CAS and Hub roles. I cannot find documentation on just how to do that. Has anyone ...
2
votes
1answer
324 views

How do I debug Powershell Desired State Configuration not generating MOF files?

I'm following the most basic example on MSDN and I'm failing to get it to work. I've got my configuration defined as follows: Configuration MyWebConfig { Param($ComputerName) Node ...