The PowerShell Blog has released information about the second wave of resources to use in your Desired State Configuration. Looks like the guys have been really busy and released some neat resources for us.
Here is the list:
Resource | Description | Module Name | Link |
xADDomain | Create and manage an Active Directory Domain | xActiveDirectory | click here |
xADDomainController | Create and manage an AD Domain Controller | xActiveDirectory | click here |
xADUser | Create and manage an AD User | xActiveDirectory | click here |
xWaitForADDomain | Pause configuration implementation until the AD Domain is available. Used for cross machine synchronization. | xActiveDirectory | click here |
xSqlServerInstall | Create and manage a SQL Server Installation. | xSqlps | click here |
xSqlHAService | Create and manage a SQL High Availability Service. | xSqlps | click here |
xSqlHAEndpoint | Create and manage the endpoint used to access a SQL High Availability Group. |
xSqlps | click here |
xSqlHAGroup | Create and manage a SQL High Availability Group. | xSqlps | click here |
xWaitForSqlHAGroup | Pause configuration implementation until a SQL HA Group is available. Used for cross machine synchronization. |
xSqlps | click here |
xCluster | Create and manage a cluster. | xFailOverCluster | click here |
xWaitForCluster | Pause configuration until a cluster is available. Used for cross machine synchronization. | xFailOverCluster | click here |
xSmbShare | Create and manage a SMB Share. | xSmbShare | click here |
xFirewall | Create and manage Firewall rules | xNetworking | click here |
xVhdFile | Manage files to be copied into a Vhd. | xHyper-V | click here |
xWebsite | Added functionality to xWebsite to support configuration of https websites. | xWebAdministration | click here |
xVhd | Bug fixes | xHyper-V | click here |
This is starting to look really promising. With the second wave of resources, DSC is beginning to look like an enterprise “product” that the IT-pros could embrace with vengeance. First off they have now included an resource to not only manipulate the objects in Active Directory, however also the infrastructure with the xADDomain and xADDomainController resources. As I have previousely commented in my blog, this was one of the missing elements of DSC. I even looked into creating an custom resource for manipulating AD-objects myself using the custom resource in DSC.
Secondly with the release of the SQL resources, we can now handle deployment of a full 3-tier application all in Powershell DSC. If your company is building software and you have not yet started looking in to DSC, now is the time to start. May I ask why you have not started? Normally software runs through 3-4 stages:
- Birth (created in an development environment)
- Test/Staging environment
- QA-environment
- Production environment
- Create the required virtual machines to be used (normally perhaps a web-server and a database-server), DSC xHyper-V resource
- Install the required roles/features, built-in DSC resource
- Install other required software, built-in DSC resource
- Configure web-server/sql server DSC xSQLps and xWebAdministration
- Congfigure users, DSC xADUser
- Install your custom software, built-in DSC resource
Now if you are not into software development, you probably have some other scenario where you could use DSC. If you are doing manually repetitive tasks that DSC could do for you, my advice to you would be that you are doing it the wrong way. Automation has been around for ages, however with DSC and PowerShell this is looking to be easier than ever.
Enjoy the new resources, I will :-)
Comments
Post a Comment