Book Image

Learning PowerShell DSC

By : James Pogran
Book Image

Learning PowerShell DSC

By: James Pogran

Overview of this book

Table of Contents (14 chapters)
Learning PowerShell DSC
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Locally pushing DSC configurations


What do we mean by "pushing DSC configurations locally"? When we apply a DSC configuration to the computer we are logged into, we are applying or pushing the DSC configuration onto the computer. We call it "pushing" because we are actively copying the MOF file and triggering an execution on the target node; we are active participants in the whole process. The Start-DscConfiguration Cmdlet does the work for us, but we are actively requesting the operations to be performed. This is clear when we contrast this with a DSC Pull Server. The DSC engine on the target node pulls the DSC configuration when an execution run is scheduled, whereas we push the DSC configuration to the target node when we want to execute it interactively using Start-DscConfiguration.

The Start-DscConfiguration Cmdlet syntax we will be using is this:

Start-DscConfiguration [-Path] <System.String> [-Wait] [-Force] [<CommonParameters>] -CimSession <CimSession[]>

It is a...