Posts by this author

Jan 9, 2014
Post comments count0
Post likes count0

Separating “What” from “Where” in PowerShell DSC

As you already know we introduced PowerShell Desired State Configuration to the world at our TechEd NA 2013 Session. The session also introduced the notion of structural configuration (what) and environmental configuration (where) (at the 25:50 min mark). Structural configuration defines what is needed and does not change based on the environment...

PowerShellDSCDesired State Configuration
Jan 3, 2014
Post comments count1
Post likes count1

Using Event Logs to Diagnose Errors in Desired State Configuration

Windows PowerShell Desired State Configuration (DSC), just like any other Windows software, records errors and events in logs that can be viewed from the Event Viewer. However, the trick lies in effectively parsing these logs, so we know exactly why a particular operation failed. In this blog, we explain where the DSC event logs are, and how the...

PowerShellDSCDesired State Configuration
Dec 26, 2013
Post comments count0
Post likes count0

Holiday Gift – Desired State Configuration (DSC) Resource Kit Wave-1

Continuing with the tradition of holiday gifts to the PowerShell community, the PowerShell team has just released DSC Resource Kit Wave-1 - a set of PowerShell modules that contain DSC resources and example configurations. The various modules that are part of DSC Resource Kit Wave 1 can be found here. When DSC was introduced in PowerShell v4, we...

PowerShellDSCDesired State Configuration
Dec 23, 2013
Post comments count0
Post likes count0

Automatically resuming Windows PowerShell Workflow jobs at logon

PowerShell Workflow helps IT Pros automate the long running tasks, or workflows, that can affect multiple managed computers or devices at the same time. Windows PowerShell Workflow is designed to be robust and recoverable. The features that are built into Windows PowerShell allow you to restart the target computers and, if the workflow is not yet...

Dec 19, 2013
Post comments count0
Post likes count0

Windows PowerShell Script Workflow Debugging

Script workflow debugging support is one of two major script debugging enhancements added in Windows PowerShell 4.0. The other new feature is script debugging in remote sessions, which is described in “Windows PowerShell Remote Debugging”. We introduced script workflow in Windows PowerShell 3.0. These are workflows written in the Windows PowerSh...

Dec 19, 2013
Post comments count0
Post likes count0

Windows PowerShell Remote Debugging

Windows PowerShell 4.0 includes two major enhancements to the script debugger. First, script debugging now works in remote sessions. Second, we’ve added debugging support for workflow scripts. This blog article describes the new remote debugging support and a following article will describe the new workflow script debugging. Remote Script Debuggin...

Dec 16, 2013
Post comments count0
Post likes count0

PowerShell Security Best Practices

We get a lot of questions about PowerShell Security Best Practices, and we got the chance to present an overview of them at this year’s (Microsoft internal) BlueHat conference. This was a 20-minute presentation, and focused on two parts:   The video was recorded, and is available here: https://channel9.msdn.com/Events/Blue-Hat-...

Dec 9, 2013
Post comments count0
Post likes count0

Understanding Meta Configuration in Windows PowerShell Desired State Configuration

UPDATE 2/6/2018 - The latest information regarding LCM configuration is available in the documentation at the following link: https://docs.microsoft.com/en-us/powershell/dsc/metaconfig .......... LCM and Meta Configuration To understand the concept of Meta Configuration, first we need to know what Local Configuration Manager (LCM) is, and wha...

PowerShellDSCDesired State Configuration
Dec 5, 2013
Post comments count0
Post likes count0

How to Deploy and Discover Windows PowerShell Desired State Configuration Resources

A Windows PowerShell Desired State Configuration (DSC) resource contains a module file (*.psm1), an optional data file (*.psd1),and a *.schema.mof file. Details about what each of those files should look like, and how you can create those files using a DSC Resource Designer Tool, are discussed in an earlier blog post.  In this blog post, we wi...

PowerShellDSCDesired State Configuration
Nov 26, 2013
Post comments count0
Post likes count0

Push and Pull Configuration Modes

// bw + bsl && x + aw - ah / 2 - cw >= bsl ) { c.style.left = x + aw - ah / 2 - cw; } else { c.style.left = x + ah / 2; } if (y + ch + ah / 2 > bh + bst && y + ah / 2 - ch >= bst ) { c.style.top = y + ah / 2 - ch; } else { c.style.top = y + ah / 2; } c.style.visibility = "visible"; } } } function msoCommentHide(co...

PowerShellDSCDesired State Configuration