While our helmsman is out bulls-eyeing womp rats in his T-16 back home, I snuck over to the control console and set a new course! With a dazzling array of automation and continuous integration nebulae ahead, my science officer informs the crew that we’ve reached an even more grandiose PowerShell galaxy, with a number of anomalies to probe for life forms.
With a heady mix of blended movie references at my command, nothing can hold back … the Datanauts!
The Datanauts and guest Warren Frame nerd out about scripting, continuous integration, and Windows PowerShell as the heart of a full-stack engineering journey.
Warren is an infrastructure engineer at a university in the Boston area. He blogs at RamblingCookieMonster.
Join the Packet Pushers at Interop Las Vegas for the Future of Networking Summit, May 2- 3. It’s a deep dive into the technologies and trends that will affect the next five to ten years of networking. Use the code PPUSHERS in the “Marketing Code” field when you register and get 25% off 5-Day, 3-Day, and 2-Day conference passes.
Sponsor: Aruba Atmosphere Conference
Atmosphere, the largest mobility conference on earth, takes place March 6th through the 11th at the Cosmopolitan of Las Vegas. It features keynote speakers–including HPE CEO Meg Whitman–breakout sessions, and technology demos. The Packet Pushers will be on site to record several podcasts with Aruba subject matter experts and chat with fellow conference attendees. Register now, and keep an ear out for the podcasts from Aruba Atmosphere that we’ll publish in the Weekly Show and Priority Queue feeds.
Part 1 – Why PowerShell?
- You wrote a detailed post entitled “Why PowerShell” that goes into your thoughts on scripting and the use of PowerShell as a shell and language. What was your motivation for this post, and what lead you to these “truths”?
- Why is an object-oriented language so important, versus text scraping with grep in bash (as an example)?
- One quote from your post (see below) got me thinking about full stack engineering. How has this helped you in your career path?
“Your reward for learning PowerShell is the improved ability to control and automate the many technologies it integrates with. I can use the same set of commands to filter, export, redirect, modify, extend, and perform actions against output for all of these technologies. I can pick up my PowerShell skills and take them in any direction I need – Hyper-V, vCenter, SQL, AD, XenApp, and more.”
- Could you tell us more about your use of SCOM (System Center OPs Mgr) and VMware vCenter with PowerShell to provide details gathered from alerts? Who thought of that, and how did it go over in your organization?
- Do you get any pushback from work for providing your scripts online using GitHub? Has this ever been a challenge?
Part 2 – Automation
- What do you think about the statement: “There is no such thing as throw-away code.” Meaning, a little bit of code typically snowballs into a larger project or is picked up by another team.
- Does this apply to scripting, or is it really possible to create little snippets of toss-away script code?
- You have some really great posts on Pester, a unit testing framework for Posh. Can you dive deeper into what Pester does and why you’re using it?
- Great video from Dave Wyatt on Pester at POSH 2015 summit
- Let’s talk about the other piece of the puzzle – continuous integration. It looks like you’re using AppVeyor for this, which looks like some sort of dark magic. So for those just learning about CI with PowerShell, can you explain it?
Part 3 – Learning and Resources
- How do I go from “This looks neat, but I don’t want to blow up my environment” to “I’ve automated everything and just play video games all day”? That’s a heckuva learning curve!
- Are there safety features built into PowerShell – such as -WhatIf – that you like to use when you’re figuring out a project?
- What are some places on the Internet you suggest people engage with? GitHub seems like an easy one, but how about:
- I saw some references to the PowerShell NA Summit. Is this something you’d suggest our listeners attend for more “practical” knowledge?
- Are there any PowerShell or related certifications that you advise people go for?
- What are some other ways to get hands on with the tools you’re using – perhaps Azure VMs and many of the tools seem FOSS?