SlideShare a Scribd company logo
PowerCLI administration with a Windows
Docker Image
VMTN6618U
Justin Sider #vExpert
CIO - Belay Technologies Inc.
@jpsider
Invoke-Automation.blog
Disclaimer
• This presentation may contain product features or functionality that are currently under development.
• This overview of new technology represents no commitment from VMware to deliver these features in any
generally available product.
• Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of
any kind.
• Technical feasibility and market demand will affect final delivery.
• Pricing and packaging for any new features/functionality/technology discussed or presented, have not been
determined.
• This information is confidential.
The information in this presentation is intended to outline our general product direction and should not be
relied on in making a purchasing decision. It is for informational purposes only and may not be incorporated
into any contract.
The Problem
How do I create a clean
environment when I need
to run a production script?
How can I share that
environment with other
team members?
Virtual
Machines
Used everywhere
● VM’s are big
● They have to be patched
● Pain to move to remote sites
● Quickly get into configuration drift
● You may need to exclude the vm
from the work you are trying to
perform
Local Desktops
Used everywhere
● They have to be patched
● Pain to move to remote sites
with every change
● Quickly get out of configuration
drift
● Very costly to procure and
maintain
Non-Container process
Create a standard image
Determine your standard software stack
for production scripts
Install your required modules
1. Download your baseline scripts
2. Clone the VM(or image if you are still
on hardware)
For each breaking update, rinse and
repeat
The Solution:
Insert Docker
What if you
could solve this
horrific
workflow with
3 simple
commands?
PUSH
PULL
RUN
First, Build your gold Image, then tag it.
Push
Push(Upload) your image to the Docker Hub, or a private Registry.
Pull
Pull (Download) the Image to a local registry for use with a docker Engine.
Run (Execute) the image to perform administrative tasks, run applications, or scripts.
Run
What’s the Rub?
Pro’s
● Generally they are small and lightweight
● It’s new and exciting
● Version control is build in!
● You may get a taste of what developers go
through
● You might like it!
● Clean State/Known State
● Customizeable
Con’s
● It’s another thing to manage
● You need a host OS
● Customizeable (where do you begin?)
● Some things just are not there
● It’s might be new to you, SCARY!
Container Pro’s and Con’s
Windows
Containers
Things are not as they seem
● Windows containers are HUGE,
why not just use a vm?
● Any change, is a BIG change
● There is nothing to RDP to, odd
● It just doesn’t feel normal
RTFM….. Then
RTFM again.
Where did I go wrong?
1. Image size was huge, I crashed my machine.
a. Creating images is an art form… just ask Abbey
Fuller.
b. “Creating effective Images”
c. She does a great job giving you a breakdown on what
not to do. Give it a watch!
https://blog.docker.com/2017/04/dockercon-2017-
top-rated-sessions/
2. I’ll just install modules at runtime! Boo Ya…….
a. FAIL
b. SOOOOOO SLOW
c. The Goal is to get the Environment up FAST!
Determine if you can use Windows Server Core or if you only need Nano.
Where did I go wrong again?
Ok, The modules are installed, now
what?
Use the built in profile script ya
Dummy!
People are already doing it, start with
their image!
Kevin Kirkpatrick (@vscripter)
https://hub.docker.com/u/vscripter/
https://github.com/vScripter
Why Windows Containers?
It’s what I work with all day. I’m a Windows
Guy!
● Same commands
● No guess work!
● Can run Other Windows Applications
And I needed a mysql plugin for Powershell to
integrate with projects like XesterUI.
You can in most cases use the Image that
VMware provides to meet your needs.
https://hub.docker.com/r/vmware/powerclicore/
‘docker pull vmware/powerclicore’
What’s next?
Don’t Fear the
Unknown! Give
Docker a shot!
Push, Pull, Run
I plan on using Docker images to build and deploy powershell applications in my enterprise. I’m hopeful that the
VIC will soon support native Windows containers.
Site 1 Site 2
Introduce a Docker Engine to each
Site, you can Remotely run local
commands to anything within your
vSphere infrastructure and report
back to a centralized repository.
Push from the Primary
Pull and Run from the Secondary
site
Thank you!
● Next Talk - Wednesday, 11:30 - VMTN6620U
○ Automated Infrastructure as a Service testing with VMware NSX
● Final Talk - Thursday, 11:45 - VMTN6632U
○ XesterUI - A User Interface for Vester vSphere configuration validation
http://invoke-automation.blog
http://belaytech.com/SummitRTS
https://hub.docker.com/u/jpsider/
https://hub.docker.com/u/vscripter/ ← Thanks to Kevin Kirkpatrick for his Community support!!
Special thanks to the vBrownBag & VMTN teams for their hard work putting on
such a valuable and rewarding event for the community.

More Related Content

PPTX
Continuous integration
PDF
Dev ops: Continuous delivery and Windows Azure
PDF
Getting started with wvd - David Nudelman
PDF
Front-End Modernization for Mortals
PPTX
UK WVD User Group Christmas 2020 News
PPTX
Visual Studio Release Management - New weltanschauung or natural evolution? @...
PDF
DevOps and Drupal
PPTX
NWJS. Web on desktop
Continuous integration
Dev ops: Continuous delivery and Windows Azure
Getting started with wvd - David Nudelman
Front-End Modernization for Mortals
UK WVD User Group Christmas 2020 News
Visual Studio Release Management - New weltanschauung or natural evolution? @...
DevOps and Drupal
NWJS. Web on desktop

What's hot (18)

PPTX
Lessons Learned with Unity and WebGL
PDF
Grunt Talk Given at Ottawa JS
PPTX
Visual Testing Of Web Apps in a Headless Environment
PPT
Prepping software for w7 deployment
PDF
Packing It In: Images, Containers, and Config Management
PDF
Puppet@Citygrid - Julien Rottenberg - PuppetCamp LA '12
PDF
The State of Puppet - Dan Bode
PDF
PuppetCamp SEA 1 - The State of Puppet
PDF
Docker bdxio
PPTX
Hacking core
PPTX
Windows 7 Deployment with Microsoft Deployment Toolkit & Windows Deployment S...
PDF
Dev to Delivery with Puppet, Vagrant and AWS
PDF
Team City
PPTX
Coffeescript installation
PPTX
Getting started with mono game using cli
PDF
Vodafone Mobile Widgets Workshop
PPTX
Ember js installation and create sample project, EmberJS Version check
PPTX
Ekahau Site Survey on Mac (VMware Fusion with Win 7)
Lessons Learned with Unity and WebGL
Grunt Talk Given at Ottawa JS
Visual Testing Of Web Apps in a Headless Environment
Prepping software for w7 deployment
Packing It In: Images, Containers, and Config Management
Puppet@Citygrid - Julien Rottenberg - PuppetCamp LA '12
The State of Puppet - Dan Bode
PuppetCamp SEA 1 - The State of Puppet
Docker bdxio
Hacking core
Windows 7 Deployment with Microsoft Deployment Toolkit & Windows Deployment S...
Dev to Delivery with Puppet, Vagrant and AWS
Team City
Coffeescript installation
Getting started with mono game using cli
Vodafone Mobile Widgets Workshop
Ember js installation and create sample project, EmberJS Version check
Ekahau Site Survey on Mac (VMware Fusion with Win 7)
Ad

Similar to PowerCLI administration with a Windows Docker image (20)

PDF
Scale Big With Docker — Moboom 2014
PDF
Adventures in docker compose
PPTX
Docker 101
PDF
Docker workshop GDSC_CSSC
PDF
Intro to Docker
PPTX
Run automated tests in Docker
PDF
Docker primer and tips
PDF
[@NaukriEngineering] Docker 101
PDF
JOSA TechTalks - Docker in Production
PPTX
Exploring Next Generation Buildpacks - Anand Rao & Scott Deeg
PDF
DCSF 19 Building Your Development Pipeline
PPTX
#3 Hanoi Magento Meetup - Part 2: Scalable Magento Development With Containers
ODP
Docker on Power Systems
PPTX
Using Docker to boost your development experience with Drupal
PPTX
Docker at Monoco.jp (LinkedIn)
PDF
Real-World Docker: 10 Things We've Learned
PDF
Docker presentation
PPTX
Developing and Testing with Enhanced Oscar
PDF
Puppet Camp Denver 2015: Developing and Testing with Enhanced Oscar
PDF
Practical Docker for OpenStack - NYC / PHL OpenStack meetup (4-23-2014)
Scale Big With Docker — Moboom 2014
Adventures in docker compose
Docker 101
Docker workshop GDSC_CSSC
Intro to Docker
Run automated tests in Docker
Docker primer and tips
[@NaukriEngineering] Docker 101
JOSA TechTalks - Docker in Production
Exploring Next Generation Buildpacks - Anand Rao & Scott Deeg
DCSF 19 Building Your Development Pipeline
#3 Hanoi Magento Meetup - Part 2: Scalable Magento Development With Containers
Docker on Power Systems
Using Docker to boost your development experience with Drupal
Docker at Monoco.jp (LinkedIn)
Real-World Docker: 10 Things We've Learned
Docker presentation
Developing and Testing with Enhanced Oscar
Puppet Camp Denver 2015: Developing and Testing with Enhanced Oscar
Practical Docker for OpenStack - NYC / PHL OpenStack meetup (4-23-2014)
Ad

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Cloud computing and distributed systems.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Machine Learning_overview_presentation.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
sap open course for s4hana steps from ECC to s4
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
cuic standard and advanced reporting.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
A Presentation on Artificial Intelligence
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Machine learning based COVID-19 study performance prediction
Digital-Transformation-Roadmap-for-Companies.pptx
NewMind AI Weekly Chronicles - August'25-Week II
MIND Revenue Release Quarter 2 2025 Press Release
Mobile App Security Testing_ A Comprehensive Guide.pdf
Cloud computing and distributed systems.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Building Integrated photovoltaic BIPV_UPV.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Machine Learning_overview_presentation.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
MYSQL Presentation for SQL database connectivity
sap open course for s4hana steps from ECC to s4
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
cuic standard and advanced reporting.pdf
20250228 LYD VKU AI Blended-Learning.pptx
A Presentation on Artificial Intelligence

PowerCLI administration with a Windows Docker image

  • 1. PowerCLI administration with a Windows Docker Image VMTN6618U Justin Sider #vExpert CIO - Belay Technologies Inc. @jpsider Invoke-Automation.blog
  • 2. Disclaimer • This presentation may contain product features or functionality that are currently under development. • This overview of new technology represents no commitment from VMware to deliver these features in any generally available product. • Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind. • Technical feasibility and market demand will affect final delivery. • Pricing and packaging for any new features/functionality/technology discussed or presented, have not been determined. • This information is confidential. The information in this presentation is intended to outline our general product direction and should not be relied on in making a purchasing decision. It is for informational purposes only and may not be incorporated into any contract.
  • 4. How do I create a clean environment when I need to run a production script? How can I share that environment with other team members?
  • 5. Virtual Machines Used everywhere ● VM’s are big ● They have to be patched ● Pain to move to remote sites ● Quickly get into configuration drift ● You may need to exclude the vm from the work you are trying to perform
  • 6. Local Desktops Used everywhere ● They have to be patched ● Pain to move to remote sites with every change ● Quickly get out of configuration drift ● Very costly to procure and maintain
  • 7. Non-Container process Create a standard image Determine your standard software stack for production scripts Install your required modules 1. Download your baseline scripts 2. Clone the VM(or image if you are still on hardware) For each breaking update, rinse and repeat
  • 9. What if you could solve this horrific workflow with 3 simple commands? PUSH PULL RUN
  • 10. First, Build your gold Image, then tag it.
  • 11. Push Push(Upload) your image to the Docker Hub, or a private Registry.
  • 12. Pull Pull (Download) the Image to a local registry for use with a docker Engine.
  • 13. Run (Execute) the image to perform administrative tasks, run applications, or scripts. Run
  • 15. Pro’s ● Generally they are small and lightweight ● It’s new and exciting ● Version control is build in! ● You may get a taste of what developers go through ● You might like it! ● Clean State/Known State ● Customizeable Con’s ● It’s another thing to manage ● You need a host OS ● Customizeable (where do you begin?) ● Some things just are not there ● It’s might be new to you, SCARY! Container Pro’s and Con’s
  • 16. Windows Containers Things are not as they seem ● Windows containers are HUGE, why not just use a vm? ● Any change, is a BIG change ● There is nothing to RDP to, odd ● It just doesn’t feel normal
  • 18. Where did I go wrong? 1. Image size was huge, I crashed my machine. a. Creating images is an art form… just ask Abbey Fuller. b. “Creating effective Images” c. She does a great job giving you a breakdown on what not to do. Give it a watch! https://blog.docker.com/2017/04/dockercon-2017- top-rated-sessions/ 2. I’ll just install modules at runtime! Boo Ya……. a. FAIL b. SOOOOOO SLOW c. The Goal is to get the Environment up FAST! Determine if you can use Windows Server Core or if you only need Nano.
  • 19. Where did I go wrong again? Ok, The modules are installed, now what? Use the built in profile script ya Dummy! People are already doing it, start with their image! Kevin Kirkpatrick (@vscripter) https://hub.docker.com/u/vscripter/ https://github.com/vScripter
  • 20. Why Windows Containers? It’s what I work with all day. I’m a Windows Guy! ● Same commands ● No guess work! ● Can run Other Windows Applications And I needed a mysql plugin for Powershell to integrate with projects like XesterUI. You can in most cases use the Image that VMware provides to meet your needs. https://hub.docker.com/r/vmware/powerclicore/ ‘docker pull vmware/powerclicore’
  • 22. Don’t Fear the Unknown! Give Docker a shot! Push, Pull, Run
  • 23. I plan on using Docker images to build and deploy powershell applications in my enterprise. I’m hopeful that the VIC will soon support native Windows containers. Site 1 Site 2 Introduce a Docker Engine to each Site, you can Remotely run local commands to anything within your vSphere infrastructure and report back to a centralized repository. Push from the Primary Pull and Run from the Secondary site
  • 24. Thank you! ● Next Talk - Wednesday, 11:30 - VMTN6620U ○ Automated Infrastructure as a Service testing with VMware NSX ● Final Talk - Thursday, 11:45 - VMTN6632U ○ XesterUI - A User Interface for Vester vSphere configuration validation http://invoke-automation.blog http://belaytech.com/SummitRTS https://hub.docker.com/u/jpsider/ https://hub.docker.com/u/vscripter/ ← Thanks to Kevin Kirkpatrick for his Community support!! Special thanks to the vBrownBag & VMTN teams for their hard work putting on such a valuable and rewarding event for the community.