Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon

Scripting with Windows Powershell Desired State Configuration [Video]

Save for later
  • 1 min read
  • 16 Jul 2018

article-image

https://www.youtube.com/watch?v=H3jqgto5Rk8&list=PLTgRMOcmRb3OpgM9tsUjuI3MgLCHDJ3oM&index=4

What is Desired State Configuration?


Powershell Desired State Configuration (DSC) is really a powerful way of scripting. It is a declarative model of scripting, instead of you defining Powershell exactly each and every step to get from point A to point B. You only need to describe what point B is and Powershell takes care of it before anything. The biggest benefit is that we get to define our configuration, our infrastructures, our servers as a code. Desired State Configuration in Powershell can really be achieved through 3 simple steps:

  1. Create the Configuration
  2. Compile the Configuration into a MoF file
  3. Deploy the Configuration

What will you need to run Powershell DSC?


Thankfully we do not need a whole lot, Powershell comes with it built-in. So, for managing Windows systems with DSC you are going to need modern version of Powershell, that is:

  1. Windows 4.0, 5.0, 5.1
  2. Powershell DSC for Linux is available
  3. Unlock access to the largest independent learning library in Tech for FREE!
    Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
    Renews at €18.99/month. Cancel anytime
  4. Currently limited support for Powershell Core


Exploring Windows PowerShell 5.0

Introducing PowerShell Remoting

Managing Nano Server with Windows PowerShell and Windows PowerShell DSC