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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Andrew Best
October 14, 2015
Technology
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
DSC a-b-c's
A short introduction to Powershell DSC terminology
Andrew Best
October 14, 2015
More Decks by Andrew Best
See All by Andrew Best
The Surprising Truths Behind Good Mentoring
andrewabest
0
140
Learn Authentication The Hard Way
andrewabest
0
360
Finding The Sweet Spot BNE
andrewabest
1
260
Finding The Sweet Spot
andrewabest
0
480
Automating AWS
andrewabest
2
390
Conventional Wisdom
andrewabest
1
490
AWS a-b-c's
andrewabest
3
170
What is Git?
andrewabest
0
230
Client Side Testing
andrewabest
0
76
Other Decks in Technology
See All in Technology
5分でわかる Amazon Connect_20260608
hwangbyeonghun
0
110
2026年6月23日 Syncable Tech + Start Python Club にて
hamukazu
0
150
GitHub Copilot運用のリアル ~AI Credit時代にどう向き合うか~
takafumisu2uk1
0
280
AWS Security Hub CSPMの成功・失敗体験
cmusudakeisuke
0
560
FPC(フレキシブル)基板にZephyr実装してみた。
iotengineer22
0
170
水を運ぶ人としてのリーダーシップ
izumii19
4
1k
元銀行員がAIだけでアプリを量産!「バイブコーディング実演セミナー 」
tatsuya1970
0
110
「ビジネスがわかるエンジニア」とは何か?
ryooob
0
330
From Prompt Engineering to Loop Engineering
shibuiwilliam
1
250
コミットの「なぜ」を読む
ota1022
0
120
AIチャット検索改善の3週間
kworkdev
PRO
2
190
40代で“やっとエンジニアになれた”――閉じた学びを開き、空の青さを知る / 20260628 Naoki Takahashi
shift_evolve
PRO
4
900
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
170
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
400
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
A Tale of Four Properties
chriscoyier
163
24k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Embracing the Ebb and Flow
colly
88
5.1k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
170
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
240
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
220
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Ethics towards AI in product and experience design
skipperchong
2
310
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