$30 off During Our Annual Pro Sale. View Details »
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
140
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
86
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
450
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
品質のための共通認識
kakehashi
PRO
3
250
Lessons from Migrating to OpenSearch: Shard Design, Log Ingestion, and UI Decisions
sansantech
PRO
1
120
Reinforcement Fine-tuning 基礎〜実践まで
ch6noota
0
180
エンジニアリングマネージャー はじめての目標設定と評価
halkt
0
280
今年のデータ・ML系アップデートと気になるアプデのご紹介
nayuts
1
310
AIと二人三脚で育てた、個人開発アプリグロース術
zozotech
PRO
1
720
AWSを使う上で最低限知っておきたいセキュリティ研修を社内で実施した話 ~みんなでやるセキュリティ~
maimyyym
2
400
.NET 10の概要
tomokusaba
0
100
re:Invent 2025 ~何をする者であり、どこへいくのか~
tetutetu214
0
210
MLflowで始めるプロンプト管理、評価、最適化
databricksjapan
1
210
GitHub Copilotを使いこなす 実例に学ぶAIコーディング活用術
74th
3
2.9k
【AWS re:Invent 2025速報】AIビルダー向けアップデートをまとめて解説!
minorun365
4
510
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
Six Lessons from altMBA
skipperchong
29
4.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Why Our Code Smells
bkeepers
PRO
340
57k
Producing Creativity
orderedlist
PRO
348
40k
Become a Pro
speakerdeck
PRO
31
5.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
70k
For a Future-Friendly Web
brad_frost
180
10k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.2k
[SF Ruby Conf 2025] Rails X
palkan
0
510
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