When I shortly checked what is new in Windows Management Framework 4.0, I was exciting to see feature Windows PowerShell Desired State Configuration (DSC) because it brings us declarative syntax and basically new concept of scripting, wow.
- Get Started with Windows PowerShell Desired State Configuration
- Video: Desired State Configuration in Windows Server 2012 R2 PowerShell (TechEd North America 2013)
Useful summary of DSC and declarative vs imperative syntax was described by Ravikanth:
Windows Management Framework 4.0 Preview is also available so we can use it in practice.
Windows Management Framework 4.0 Preview includes updates to Windows PowerShell, Windows PowerShell ISE, Windows PowerShell Web Services (Management OData IIS Extension), Windows Remote Management (WinRM), Windows Management Instrumentation (WMI), the Server Manager WMI provider, and a new feature for 4.0, Windows PowerShell Desired State Configuration (DSC).
IMPORTANT: Not all Microsoft server applications are currently compatible with WMF 4.0. Before installing WMF 4.0 Preview, be sure to read the WMF 4.0 Preview Release Notes. Specifically, systems that are running the following server applications should not run WMF 4.0 Preview at this time:
- System Center 2012 Configuration Manager (not including SP1)
- System Center Virtual Machine Manager 2008 R2 (including SP1)
- Microsoft Exchange Server 2013, Microsoft Exchange Server 2010, and Microsoft Exchange Server 2007
- Microsoft SharePoint Server 2013 and Microsoft SharePoint Server 2010
- Windows Small Business Server 2011 and Windows Small Business Server 2008
(Important part is copied from Windows Management Framework 4.0 Preview Now Available)