Loading…
This event has ended. Visit the official site or create your own event on Sched.
We urge you to download the event brochure, which is full of useful information and details!

PowerShell + DevOps Global Summit is the gathering of PowerShell + DevOps professionals and enthusiasts. More than just a conference, it’s a true in-person gathering of a vibrant commuity - we learn from each other, we develop practices and standards, we share challenges and solutions, and we drive our industry forward. If you’re working with PowerShell, Desired State Configuration, and related technologies, and especially if you’re moving your organization toward a DevOps footing, then this is the 400+ level event you’ve been looking for. Be sure to grab our event app for your iOS or Android device!

Once you’re registered (use the Tickets tab, below), you’ll be authorized to this site, and be able to build and maintain your personal agenda for the event. Check back often as the event draws near, as this is where we’ll publish any last-minute session changes or other agenda updates. If you already registered and didn’t receive your invite email to Sched.com, just go here and use your registered email address and EventBrite order number to gain access.

DOWNLOADS: Event brochure | Sponsorship information
Tuesday, April 10 • 11:00am - 12:45pm
Building cmdlets for a REST API with PowerShell classes, Azure-based integration tests and continuous deployment

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
    This talk will cover a project to write a set of cmdlets for an Infoblox dns appliance.  Code is split between cmdlets for the interface and parameter validation, and classes for modeling all the REST calls.  Will also cover the CD pipeline via appveyor with tests against an Azure appliance.
    Classes, the new feature in PowerShell 5.0, was added just for writing DSC resources right?  Not so!  Come see how classes can be used as part of a PowerShell cmdlet, providing code separation, easier parameter validation, and more.  This session will cover a working module that uses class definitions alongside standard PowerShell cmdlets to integrate with a REST API.  Learn how using defined classes makes integration between get and set cmdlets easier and potentially safer. It will also cover the release pipeline for testing and deployment, with a little Azure Resource Manager template design thrown in for fun.  All code for this session will be available on GitHub.
   This session will cover:
    - How to build a REST Uri and payload from user-provided parameter values
    - How to model objects and build class definitions and methods to reflect actions on those objects
    - How to build cmdlets that interface with both the user and the class definitions, isolating code for improved readability
    - How to build a test environment in Azure for running Pester tests and deploy to the PS Gallery with Appveyor
     This has been an amazing side project that I've been working on for over a year.  I've learned a ton about classes, github, appveyor, azure, etc. and I'm eager to share all that. Current project code can be found here:  https://github.com/murrahjm/Infoblox-Classy

Speakers
avatar for Jeremy Murrah

Jeremy Murrah

Lead Server Engineer, Enterprise Products Partners
Jeremy Murrah is an old OPS guy from the dark ages of computing. He started automating NT 4.0 installations and hasn't looked back. Classically trained as an Active Directory Administrator and Windows Engineer, he is currently engrossed in all things Powershell and is eagerly awaiting... Read More →



Tuesday April 10, 2018 11:00am - 12:45pm PDT
404 - Meydenbauer Center