PowerShell for Admins

PowerShell for Admins
Greg Tate
PowerShell for Admins

What You Missed This Week in PowerShell!

Blogs

Using VSTS for Your Company’s Private PowerShell Library

by Justin Rice on July 28th
Interested in sharing your collection of PowerShell tools for your team to use? First-time blogger Justin Rice walks you through publishing a PowerShell module to an internal PSRepository using VSTS.

Creating a Function or Script with PowerShell Dynamic Parameters

By Aaron Guilmette on July 30th
Learn how to create parameters with validation data that you can tab-complete prior to runtime. In this example Aaron uses a set of Skype numbers as potential values for a parameter to his function.

Will Anderson
PowerShell for Admins

PowerShell + DevOps Summit 2019 – Call for Speakers

The PowerShell and DevOps Global Summit 2019 will be returning to the Meydenbauer Center in Bellevue, WA from Monday, April 29 to Thursday, May 2, 2019. Since 2013, PowerShell and DevOps experts from around the world , will once again collaborate and learn how to maximize PowerShell in the workplace through fast-paced, knowledge-packed presentations. The Global Summit is the place for innovators to explore and further their knowledge of DevOps principles and practices in a Windows environment, make new connections, learn new techniques, and offer something to your peers and colleagues back at the office. Ready to share your PowerShell or DevOps know-how? This is your official call to submit presentation ideas for selection! What we are looking for? The majority of our sessions will now follow a traditional 45-minute format. These sessions cover a wide variety of PowerShell and DevOps expertise. We have a number of agenda slots available for double length sessions. These sessions delve into the depths of a topic covering areas that need more than 45 minutes. Your proposed session should fit into one of the following areas:

pscookiemonster
PowerShell for Admins

PowerHour: Community Lightning Demos!

One of my favorite events at the PowerShell + DevOps Global Summit is the community lightning demos. It’s a fun format:
For the audience:

  • Fast paced (max 10 minutes)
  • Many speakers
  • Topic or speaker not what you’re looking for? They’ll change in a few minutes
  • Demos offer enough material to give you ideas and point out where to learn more
  • Content is more likely to have a high signal-to-noise ratio given the time constraints

For the speakers:

Greg Tate
PowerShell for Admins

What You Missed This Week in PowerShell!

Blogs

PowerShell Core Now Available as a Snap Package

by The PowerShell Team on July 20th
Oh, Snap! Core’s support matrix on Linux grows broader with the inclusion of a Snap Package to the line-up. Check out the PS team’s blog for details on what this means and how you can try it out.

PowerShell Modules in Azure Functions

by Axel Bøg Andersen on July 22nd
Hit a snag taking your modules to Azure Functions? Eliminate the hassle of using extra tools and learn how to load your modules directly to Azure Functions.

Will Anderson
PowerShell for Admins

What You Missed This Week in PowerShell!

Blogs

Keeping PowerShell Modules Up To Date

by Thomas Lee on Saturday July 14th, 2018
Learn a simple technique for checking which of your modules from the PowerShell Gallery have an update.

When TLS 1.2 Breaks Invoke-WebRequest

by Lawrence Hwang on July 15th, 2018
In Windows PowerShell, there’s a limitation with Invoke-WebRequest and sites that only use TLS 1.2. This article covers a workaround for this problem. This issue is not present with Invoke-WebRequest in PowerShell Core.

Will Anderson
PowerShell for Admins

What You Missed This Week in PowerShell!

This week we’re starting a new series of blog posts called (obviously) ‘What You Missed This Week in PowerShell!’.  Our team of volunteers is scouring the web to find interesting articles, and forum posts related to our favourite topic!  In the meantime, I want to give a ’thank you’ to everyone that pulled together to make this possible.  Many thanks to Greg Tate, Evgeny Fedorov, Patrick Singletary, Brett Bunker, Mark Roloff, and Robin Dadswell for your hard work on getting this started!
-Will

Don Jones
PowerShell for Admins

OnRamp Scholarship open to non-US Applicants

I have managed to clear the regulatory hurdles and our OnRamp Scholarship is now open to applicants from outside the US. We will update the application materials and web pages as soon as possible, but there’s no need to wait to submit an application.
There are two caveats:
first, the option to request a laptop as part of your application is not applicable to international applicants at this time.
Second, our airfare limit is $600 USD. We cannot directly book airfare costing more. Unfortunately, we also cannot provide a partial cash reimbursement at this time. That means your air must be under $600 total (which I realize is difficult), or you need to be responsible for the entire airfare yourself. This is a bit of accounting oddness that we should be able to address in the future.
Full information and applications are at the link above.

Don Jones
PowerShell for Admins

How PowerShell + DevOps Global Summit Began

Back in… gosh, 2009, 2010 or so, an Arizona company named NetPro hosted PowerShell Deep Dive, part of their The Experts Conference event (the first was held in Las Vegas for just 50 people). After hosting two years (I think) though, NetPro was purchased by Quest Software, which moved to close down TEC. I may have those years slightly off, but that’s the general sequence.
In 2012, myself, Jeff Hicks, Richard Siddaway, Jason Helmick, and Kirk Munro had formed PowerShell.org, attempting to make good on the basically-defunct PowerShellCommunity.org that I’d started and that Quest now basically owned (and was shutting down).
In August 2012 Jason and I were out in Redmond for a TechMentor conference, and…

Erin Chapple and Kenneth Hansen, who were running the PowerShell team at the time, asked us over to building 43 for lunch one day. They told us that community engagement was huge for them–they needed to know how people were using their product, and what they needed to focus on. They got plenty of engagement at TechEd events, they said, but it was largely beginners; they needed the Deep Dive, or something like it, to stay in touch with hardcore users.
In April 2013, the first PowerShell Summit was held.
“We can’t give you any money, though,” Kenneth said. And for good reason: they wanted an event that could sustain itself, so that when Microsoft inevitably reorganized and got distracted, the event wouldn’t die. To help, they volunteered to get us space on-campus, so our first event was in conference rooms, and they helped guarantee the food deposits. That helped give us a tiny financial pad and some experience, so in 2014 when we moved to Meydenbauer Center, we weren’t a brand-new event with an inexperienced team.
Today, Summit is formally owned by a 501(c)(3) nonprofit, and venue and food deposits no longer have to go on my personal Amex ;). We’ve built enough operating margin that Summit can pay its own deposits until registrations start rolling in, and the event is essentially self-sustaining–we don’t even rely on corporate sponsors, although we’re very happy to have them when we can. We’ve held six events in the US, and two in Europe, which led to the launch of PSConf.eu a few years back.
Jason ran across this page in his journal last night and sent the photo, and with his permission I thought it would be a fun piece of community history to share.

Eli Hess
PowerShell for Admins

Executing LINQ Queries in PowerShell – Part 2

And we’re back!
Ok, so in the last blog we began a conversation about delegates and using LINQ in PowerShell. In today’s post, I’m going to give an example of how it can be incredibly useful. Let’s talk about Joins.

Joins

In my line of work, I’m constantly running into the need to combine datasets from multiple sources that relate to each other and pull out some specific properties. Say you have two internal services, one which is used to track production status and another which is used to monitor whether machines are online. To demonstrate this, let’s initialize some mock data once again.