Setting up the environment for DSC

In the post “What is DSC” I talked about what DSC is, and why we should use it. Now it is time to get our hands dirty and set up the environment for DSC.

  1. Download and install “Windows Management Framework 5.0
  2. Run powershell command to “Enable PowerShell Remoting
    Enable-PSRemoting
  3. Run powershell command to change the “Windows PowerShell Script Execution Policy
    Set-ExecutionPolicy RemoteSigned

Some helpfull commands

Show all installed resources:

Get-DscResource

Find installable resources:

Find-DscResource -ov a

Show found resources in a nice grid:

$a | ogv

This post is part of a series:

  1. What is DSC?
  2. Setting up the environment for DSC (this post)
  3. Configure Active Directory with DSC
  4. What LEGO has to do with PowerShell DSC Partial Configurations!
  5. Configure IIS with DSC
  6. Install SQL with DSC
  7. Install SharePoint
  8. Configure SharePoint
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s