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
Glenn
April 12, 2017
Technology
180
0
Share
[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
60
Beyond Pester 103 : Applying a testing mindset
glennsarti
0
63
(PS Virtual Global '20) Beyond Pester 101: Applying testing principles to PowerShell
glennsarti
0
170
Sharing: What's in it for me!? (DevOpsDays Syd 2019)
glennsarti
0
98
How to become a SHiPS wright - Building with SHiPS
glennsarti
0
180
Beyond Pester 102: Acceptance testing with PowerShell
glennsarti
0
370
(PS Conf Asia '18) Beyond Pester 101: Applying testing principles to PowerShell
glennsarti
0
320
(NDC Sydney) Sharing: What's in it for me!?
glennsarti
1
790
PowerShell Summit - Lean Coffee
glennsarti
0
190
Other Decks in Technology
See All in Technology
Introduction to Bill One Development Engineer
sansan33
PRO
0
400
JEDAI in Osaka 2026イントロ
taka_aki
0
110
TanStack Start エコシステムの現在地 / TanStack Start Ecosystem 2026
iktakahiro
1
370
3つのボトルネックを解消し、リリースエンジニアリングを再定義した話
nealle
0
390
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
"SQLは書けません"から始まる データドリブン
kubell_hr
2
330
デシリアライゼーションを理解する / Inside Deserialization
tomzoh
0
260
さくらのクラウドでつくるCloudNative Daysのオブザーバビリティ基盤
b1gb4by
0
160
Master Dataグループ紹介資料
sansan33
PRO
1
4.6k
新メンバーのために、シニアエンジニアが環境を作る時代
puku0x
0
730
AIがコードを書く時代の ジェネレーティブプログラミング
polidog
PRO
3
710
AIを活用したアクセシビリティ改善フロー
degudegu2510
1
170
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
The Curious Case for Waylosing
cassininazir
0
290
Optimizing for Happiness
mojombo
378
71k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
250
Music & Morning Musume
bryan
47
7.1k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
520
The SEO Collaboration Effect
kristinabergwall1
0
420
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
490
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
97
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