Articles

PowerShell articles, tutorials, and guides from community experts.

Richard Siddaway
Announcements

PowerShell is Open Sourced

For those of you that have been at PowerShell Summits over the last few years you’ll have heard Jeffrey Snover state that he wanted to take PowerShell to other platforms. Now its happened Jeffrey has announced that an ALPHA release of PowerShell is now available for Linux and Mac. Currently available for Ubuntu, Centos, Red Hat and Mac OS X with more to come The announcement is at https://azure.microsoft.com/en-us/blog/powershell-is-open-sourced-and-is-available-on-linux/ Also see PowerShell blog

Graham Beer
PowerShell for Admins

A date with PowerShell

At the beginning of July, we welcomed our 3rd son into the world. As days past my wife and I would say, “wow, he’s 11 days old. Can you believe it?!”. I’m sure parents out there are relating to this! This gave me an idea for a fun script that would get your age in years, months and days, tell you how many days until your birthday and your star sign.

Don Jones
PowerShell for Admins

What are your "known problems" (solved) in DSC?

I’m collecting a list of known problems in DSC v5 _that have been solved. _Like the infamous “MI RESULT 12” error that could happen if you upgraded from prerelease v5 to production preview. I’m going to document these in “The DSC Book,” including in its free sample version, to help preserve these things in one place. Again - these need to be solved problems. Just drop as much description as you can into a comment here, and feel free to link to the fix, or to a discussion thread on the problem.

Richard Siddaway
Announcements

PowerShell and DevOps Global Summit 2017: Call for Topics

The PowerShell and DevOps Global Summit is the number one conference where PowerShell enthusiasts gather and learn from each other in fast-paced, knowledge packed presentations. PowerShell, and DevOps, experts from all over the world including MVP’s, community leaders and PowerShell team members, will once again join together for a few days in Bellevue, WA. to discuss and learn about maximizing PowerShell in the workplace. It’s also the place to explore and further your knowledge of DevOps principles and practices in a Windows environment.

pscookiemonster
PowerShell for Admins

Deploying Modules to the PowerShell Gallery

So! We’ve talked about continuous integration and deployment with PSDeploy, the importance of abstraction, and a bit on how and why to write and publish PowerShell modules. It’s time to combine these ingredients with a quick, real-world walk through on automatically publishing your PowerShell modules to the PowerShell Gallery. If you want a full run-down showing how to deploy PSDeploy with PSDeploy, hit the link; otherwise, we’ll pick up the PSStackExchange module where we left off, and drop in some continuous integration and deployment goodness!

msorens
PowerShell for Admins

Every pithy witticism begins with quotation marks

“To be or not to be”. Without getting into a debate over whether Shakespeare was musing about being a logician, suffice to say that in writing prose, the rules of when and how to use quotation marks are relatively clear. In PowerShell, not so much. Sure, there is an about_Quoting_Rules documentation page, and that is a good place to start, but that barely covers half the topic. It assumes you need quotes and then helps you appreciate some of the factors to consider when choosing single quotes or double quotes.

Mike F Robbins
Events

MSPSUG July 12th Virtual Meeting: Exploring SQLPS, the SQL Server PowerShell Module

Join the Mississippi PowerShell User Group virtually on Tuesday, July 12th 2016 at 8:30pm Central Time when Mike Fal will be presenting “Exploring SQLPS, the SQL Server PowerShell Module”. A big hurdle for using PowerShell and SQL Server together is the SQLPS module. Both old and new users of PowerShell don’t completely understand its capabilities. In this session, we’ll talk about the cmdlets you may not know about, tricks to save time using the provider, and even a few gotchas on how the provider works that can save you some time and energy.

pscookiemonster
PowerShell for Admins

Finding PowerShell Sessions At Conferences and Events

The Current State So! If you visit the PowerShell.org events page, you’ll find a bevy of PowerShell-focused events, from local PowerShell user groups to global PowerShell conferences. What you won’t find, yet, is a list of PowerShell related sessions at the many other conferences and user groups you might consider attending. Maybe you’d like to find PowerShell oriented sessions at non-PowerShell user groups and mini conferences like SQL Saturdays, VMUGs, Azure User Groups, Security BSides, DevOpsDays, etc.

Graham Beer
PowerShell for Admins

To ping or not to ping..The PowerShell way

As this is my first blog here, here’s a bit about me. I’m a current lead SCCM Admin in the UK, and have found this great enjoyment for PowerShell in the last 18 months. I’ve started my own blog, http://www.get-configmgr-content.co.uk/, to share my passion. The chance to blog on Powershell.org was too exciting not to do! The inspiration for this blog came from a forum post on Powershell.org that I helped contributed on.

Don Jones
Announcements

Here's What You've Missed at PowerShell.org (and what's coming)

We’ve been making a ton of improvements at PowerShell.org… if you haven’t visited in a while, it might be worth a stop by. **First, **if you’re hitting any of the links below and getting a 404, the most common culprit seems to be an over-zealous corporate proxy cache. Try clearing it, or doing a Shift+Reload in your browser. Confirm by visiting from a non-proxied network, like at home. Our eBooks page has a bunch of new content, and our books are now available in PDF, MOBI, and EPUB from two providers (LeanPub and GitBook).