PowerShell Toolmaking Dos and Don’ts

During the last Microsoft MVP Summit, Channel 9 invited MVPs into their studios to record short presentations on anything they wanted. This was too good a deal to pass on, so my friend Greg Shields and I jumped into the studio to talk about PowerShell Toolmaking. To be more accurate, Greg, who knows a little PowerShell and is probably like many of you,  “interviewed” me about some toolmaking best practices.  The video is now available on Channel 9. Or you can watch it here.


Creating Class Based PowerShell Tools Demos

PUGS_logoDuring my recent trip to Sweden, I had an opportunity to do a presentation for the PowerShell User Group Sweden. It was a big turn out and I appreciate everyone who attended.  My talk was on using the new class feature in PowerShell 5.0 to create new types of PowerShell tools. Classes were introduced to make it easier to create DSC resources, but there’s no reason we can’t use them for other purposes.

I started with a quick intro into classes and then walked through a series of demos created a new tool using PowerShell classes. I have posted my demo files on GitHub. There were no slides.  The demo files are for educational purposes only and the final result is by no means production worthy, nor does it represent everything you could do.

The files are open to anyone interested. If you have questions on them, feel free to leave a comment.  And even though they are on Github, this isn’t an active project. I will probably revise these files as I use them in other presentations. Otherwise, enjoy and learn.

PowerShell and DevOps Summit 2016

Well another PowerShell Summit has come and gone. Although now we’re all grown up and are now the PowerShell and DevOps Global Summit. This year’s event was sold out and featured speakers from around the world as well as many people from Microsoft. In fact this is the only event where you can interact personally with members of the PowerShell and Windows Server product teams as well as get sneak peeks about what is coming. Even though most of the sessions were recorded and will eventually be made publicly available, not everything was recorded and of course you can’t capture the one-on-one nature of the event.

I enjoyed meeting old friends and making some new ones. I sat in on some very interesting sessions and have a number of new things to try out and play with if I ever get a bit of spare time.

I presented a 2 hour session that centered on how I rapidly build new PowerShell tools from existing commands. I received some terrific feedback and the session went well. I never know if what I’m presenting is what people are expecting or at the level they need but I think this session went well. The session was recorded and as far as I know eventually it will be posted online. I’ll share that information when it happens. In the meantime, I’ve assembled all of my demos into a zip file which you can download from here.

Next year’s event will be back in Bellevue, Washington most likely in April 2017. Don’t wait to register when you see it open.  A call for sessions will open up probably in the August-September time frame.

If you attended this year, I’d love to know what you thought, what you took away and what you think would make it an even more awesome event.

Advice, solutions, tips and more for the lonely Windows administrator with too much to do and not enough time.