Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
[email protected]
(12 Apr 2017)
Search
Glenn
April 12, 2017
Technology
210
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
79
Beyond Pester 103 : Applying a testing mindset
glennsarti
0
94
(PS Virtual Global '20) Beyond Pester 101: Applying testing principles to PowerShell
glennsarti
0
200
Sharing: What's in it for me!? (DevOpsDays Syd 2019)
glennsarti
0
130
How to become a SHiPS wright - Building with SHiPS
glennsarti
0
210
Beyond Pester 102: Acceptance testing with PowerShell
glennsarti
0
410
(PS Conf Asia '18) Beyond Pester 101: Applying testing principles to PowerShell
glennsarti
0
350
(NDC Sydney) Sharing: What's in it for me!?
glennsarti
1
830
PowerShell Summit - Lean Coffee
glennsarti
0
210
Other Decks in Technology
See All in Technology
予測不能な実行エージェントを安全にサクッと試せるサンドボックス環境の話
sansantech
PRO
0
130
分析AIエージェントを育てる、動く環境を育てる
codatum
1
350
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
310
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
0
140
IoTデバイスを繋げるプロトコルMatterをAndroidで使用する方法
harutiro
0
120
オブザーバビリティを高める AI エージェント体験を考える / Designing AI Agent Experiences That Enhance Observability
aoto
PRO
2
320
購入ドメインでの課題と取り組み
ykagano
0
150
継続的なAIコスト最適化
bgpat
1
230
OpenSharing について熱く語る〜AI アセットの共有について〜
kameitomohiro
0
240
プロダクト価値を、 チームが使える判断軸に変える
vivion
0
130
AIは爆速なのに、私が詰まっていた話 ― 音声入力と鳴くマスコットでボトルネックを削る
yama3133
0
550
FinTech 1-2 : Overview of FinTech
ks91
PRO
0
150
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
210
GraphQLとの向き合い方2022年版
quramy
50
15k
The browser strikes back
jonoalderson
0
1.8k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
540
Code Review Best Practice
trishagee
74
20k
Deep Space Network (abreviated)
tonyrice
0
360
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
260
Building AI with AI
inesmontani
PRO
1
1.3k
Are puppies a ranking factor?
jonoalderson
2
4k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Code Reviewing Like a Champion
maltzj
529
40k
Practical Orchestrator
shlominoach
192
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