Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
DSC a-b-c's
Search
Andrew Best
October 14, 2015
Technology
0
150
DSC a-b-c's
A short introduction to Powershell DSC terminology
Andrew Best
October 14, 2015
Tweet
Share
More Decks by Andrew Best
See All by Andrew Best
The Surprising Truths Behind Good Mentoring
andrewabest
0
110
Learn Authentication The Hard Way
andrewabest
0
340
Finding The Sweet Spot BNE
andrewabest
1
240
Finding The Sweet Spot
andrewabest
0
450
Automating AWS
andrewabest
2
370
Conventional Wisdom
andrewabest
1
460
AWS a-b-c's
andrewabest
3
160
What is Git?
andrewabest
0
220
Client Side Testing
andrewabest
0
71
Other Decks in Technology
See All in Technology
使いにくいの壁を突破する
sansantech
PRO
1
110
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
310
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
430
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
220
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
200
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
440
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
190
なぜ今、コスト最適化(倹約)が必要なのか? ~AWSでのコスト最適化の進め方「目的編」~
htan
1
110
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
140
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
140
セキュリティ はじめの一歩
nikinusu
0
1.5k
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
210
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
580
Building an army of robots
kneath
306
46k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
290
Paper Plane (Part 1)
katiecoart
PRO
0
4k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
150
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
RailsConf 2023
tenderlove
30
1.3k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
240
Exploring anti-patterns in Rails
aemeredith
2
250
Transcript
Powershell DSC A-B-C’s
Page Windows Management Framework 4 › Brought us Powershell v4
and Powershell DSC 1.0 › Brings together tooling we can use to configure windows servers and their environment into a central location, rather than having it scattered throughout various cmdlets and tools / Copyright ©2014 by Readify Pty Ltd 2
Page Powershell DSC › It is an extension to the
powershell language › Use the powershell language to create and deploy configurations to servers › Primarily server focused, but can be run on client OS’s › Ensures servers are verifiably configured as you say they are –0 configuration drift, self healing › The future of server management –you shouldn’t manage the server directly, just its configuration / Copyright ©2014 by Readify Pty Ltd 3
Page Local Configuration Manager › The ‘server side’ of DSC
› Consumes the configuration it is provided and does the heavy lifting › Takes the hard work out of configuring systems – you don’t need to know all of the commands required to do the work › Set it and forget it / Copyright ©2014 by Readify Pty Ltd 4
Page Configuration › A new powershell command type we use
to build the configuration templates that the LCM will apply to our servers › A configuration is just powershell code that defines the resources that make up our configuration, and what nodes they apply to › Once a configuration is processed, produces a MOF file – an industry standard format, not proprietary. / Copyright ©2014 by Readify Pty Ltd 5
Page Nodes › Define the targets the configuration applies to
› Won’t go into depth here since our configurations are only applied to single servers / Copyright ©2014 by Readify Pty Ltd 6
Page Resources › Are a type of powershell module, used
during DSC configuration to do the actual configuration work › The have three methods: Get-TargetResource, Set- TargetResource and Test-TargetResources › When a configuration is applied to a server, each resource defined runs its Test-TargetResource, and if this returns negative, Set-TargetResource is then run, which ‘makes it so’. / Copyright ©2014 by Readify Pty Ltd 7
Page Requirements › WMF 4.0 › .NET 4.5 › Server
2008 R2 SP1 or higher › Windows 7 SP1 or higher › Powershell Remoting must be enabled on servers you want to configure – on by default on Server 2012 / Copyright ©2014 by Readify Pty Ltd 8
Page Honourable Mentions › Pull vs Push configuration › Configuration
variables / Copyright ©2014 by Readify Pty Ltd 9
None