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
[email protected]
(12 Apr 2017)
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Glenn
April 12, 2017
Technology
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
[email protected]
(12 Apr 2017)
A lightning talk for the PowerShell and DevOps summit 2017
Glenn
April 12, 2017
More Decks by Glenn
See All by Glenn
Documentation is UX
glennsarti
0
74
Beyond Pester 103 : Applying a testing mindset
glennsarti
0
84
(PS Virtual Global '20) Beyond Pester 101: Applying testing principles to PowerShell
glennsarti
0
190
Sharing: What's in it for me!? (DevOpsDays Syd 2019)
glennsarti
0
120
How to become a SHiPS wright - Building with SHiPS
glennsarti
0
190
Beyond Pester 102: Acceptance testing with PowerShell
glennsarti
0
390
(PS Conf Asia '18) Beyond Pester 101: Applying testing principles to PowerShell
glennsarti
0
340
(NDC Sydney) Sharing: What's in it for me!?
glennsarti
1
810
PowerShell Summit - Lean Coffee
glennsarti
0
200
Other Decks in Technology
See All in Technology
SRE依存からの脱却 運用を開 発チームへ移す、 フルサイ クル開 発体制の実践
joooee0000
0
2.4k
Kotlin 開発のツラミを爆破した話! / Explode the difficulty of Kotlin dev!
eller86
0
160
Road to SRE NEXTの今までとこれから
hiroyaonoe
0
270
インフラ寄りSREでも 開発に踏み出せる〜境界を越えてユーザー体験に向き合いたい〜
sansantech
PRO
2
3.3k
Text-to-SQLをAgentCoreで実現し、生成されるSQLの精度を定量的に評価する
yakumo
2
770
デジタル・デザイン構想 by Sayaka Ishizuka
y150saya
0
200
アカウントが増えてからでは遅い? ~ マルチアカウント統制の勘所 ~
kenichinakamura
0
210
Claude Codeとハーネスについて考えてみる
oikon48
18
9.1k
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8.4k
DMM.com 購入改善推進チーム におけるCodeRabbitを用いた レビューフロー改善の一例
ysknsid25
2
570
はじめてのWDM
miyukichi_ospf
1
140
「ちゃんとやっている」は独りよがりだった ― 不安に寄り添うインシデント対応へ / Towards incident response that addresses anxieties
chmikata
1
4.5k
Featured
See All Featured
Being A Developer After 40
akosma
91
590k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
BBQ
matthewcrist
89
10k
Marketing to machines
jonoalderson
1
5.6k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
290
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
260
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
370
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.1k
So, you think you're a good person
axbom
PRO
2
2.1k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Transcript
[email protected]
@glennsarti
Me • Senior Software Engineer at Puppet Specialising in Windows
• 15 years in Desktop Engineering and IT Navy, Government, Mining, Finance, Corporate • DevOps advocate @glennsarti
1. Simple developer tools Day to day helpful things 2.
PS Module for VM Pooler Using the VM Pooler API and a WPF GUI 3. The Powershell Module for Puppet A story of next level shenanigans @glennsarti
Simple developer tools @glennsarti
Demo time? @glennsarti
PS Module for VM Pooler @glennsarti
What is VM Pooler? “Provide configurable 'pools' of instantly available
(running) virtual machines” @glennsarti
@glennsarti
It has a REST API so … Invoke-RESTMethod time! @glennsarti
But where’s the demo?
The PowerShell Module for Puppet … @glennsarti
… Next level shenanigans @glennsarti
@glennsarti
v1.0.6 @glennsarti
exec { 'Delete thing': command => 'Remove-Item C:\first.txt', onlyif =>
'Test-Path C:\first.txt', provider => powershell, } exec { 'Create thing': command => 'New-Item C:\2nd.txt', unless => 'Test-Path C:\2nd.txt', provider => powershell, } @glennsarti
@glennsarti EXEC powershell.exe powershell.exe powershell.exe powershell.exe EXEC
Benefits & Problems @glennsarti
v2.0.0 @glennsarti
@glennsarti EXEC powershell.exe EXEC RS+ RS+ RS+ RS+
Benefits @glennsarti
v2.0.2 @glennsarti
@glennsarti EXEC powershell.exe EXEC RS+ RS+ RS+ RS+
@glennsarti EXEC powershell.exe (+) EXEC RS RS RS RS
Benefits @glennsarti
… on the 4th August 2016 @glennsarti
(MODULES-3690) Powershell module hangs on latest Powershell (5.1.14394.1000) @glennsarti
@glennsarti PowerShell GH Issue #2068 (Curly) PowerShell GH Issue #2071
(STDIN)
v2.1.0 @glennsarti
puppet @glennsarti EXEC powershell.exe (+) EXEC RS RS RS RS
Named Pipes
Benefits & Problems @glennsarti
v2.x.0 (In progress) @glennsarti
puppet @glennsarti EXEC powershell.exe (+) EXEC RS RS RS RS
Named Pipes
puppet @glennsarti EXEC Powershell Core EXEC RS RS RS RS
Pipes/Sockets
Benefits & Problems @glennsarti
@glennsarti MODULES-3945 https://tickets.puppetlabs.com/browse/MODULES-3945
@glennsarti Require a fix in Dotnet Core CLR Add-Type reference
assembly bug https://github.com/PowerShell/PowerShell/issues/1616
@glennsarti PowerShell needs to build with later Dotnet Core version
https://github.com/PowerShell/PowerShell/pull/3398
@glennsarti Unable to determine CLR version within PowerShell https://github.com/PowerShell/PowerShell/issues/1984
@glennsarti Dotnet Core missing support for Unix Domain Sockets Can’t
pass in a domain socket name https://github.com/dotnet/corefx/commit/fcc5cc9d78
@glennsarti Loopback behaviour IP4 vs IP6
v2.2.0 (In progress) @glennsarti
puppet @glennsarti EXEC powershell.exe EXEC /usr/bin/powershell /usr/bin/powershell /usr/bin/powershell /usr/bin/powershell POSIX
Windows
Benefits & Problems @glennsarti
Demo?
https://github.com/puppetlabs/puppetlabs-powershell @glennsarti http://glennsarti.github.io/ https://speakerdeck.com/glennsarti All images are copyright of their
respective owners