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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
72
Beyond Pester 103 : Applying a testing mindset
glennsarti
0
81
(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
LayerXにおけるセキュリティ管理の現在地と次の一手
tosho
0
230
スキルと MCP ツール、責務をどう分けるか? AI が迷わないインターフェース設計の戦略
cdataj
1
1.1k
【Cyber-sec+】経営層を"動かす"ための考え方
hssh2_bin
0
190
AIはどのように 組織のアジリティを変えるのか?
junki
4
990
AI駆動開発を通して感じた、 AI時代のデザイナーの役割変化
whisaiyo
3
2.2k
When Platform Engineering Meets GenAI
sucitw
0
100
Agent Skills設計で柔軟性と硬さのバランスが難しい話
nassy20
0
130
攻撃者視点で考えるDetection Engineering
cryptopeg
3
1.9k
脱SaaS!FDEを支えるプロビジョニングと分離設計
knih
0
120
機械学習を「社会実装」するということ 2026年夏版 / Social Implementation of Machine Learning June 2026 Version
moepy_stats
6
2.4k
人材育成分科会.pdf
_awache
4
280
【NRUG vol.18】なぜ多くのオブザーバビリティ導入は失敗するのか
nrug_member
0
180
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9.4k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Building Adaptive Systems
keathley
44
3.1k
Become a Pro
speakerdeck
PRO
31
6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
400
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
56k
A better future with KSS
kneath
240
18k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
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