Articles

PowerShell articles, tutorials, and guides from community experts.

WeiYen Tan
PowerShell for Admins

A study in Powershell scripting – A beginners guide Part 2

In this post I elaborate the steps that I went through to build the function to extract users into alphabetical order. I talk about the problems I face and how I resolved them. I also post snippets of my code that I used so that new people can see how I wrote it. I’m hoping that this help the new people that are out there. Biggest tip in the post is what the secret sauce is on how to pass results from one cmdlet to another.

WeiYen Tan
PowerShell for Admins

A study in Powershell Scripting – A beginners Guide Part I

I thought I would post my learning experiences as a person that has very little programming background. Don did say in one of the TechEd’s a few years ago that even a beginner could share their experiences with others. So I thought that I should contribute with the approach that I use to write my scripts so that other people starting to begin their Powershell adventure could benefit. The scenario in this case is to do with three Active Directory security groups and synchronizing with a master Active Directory security group.

pscookiemonster
PowerShell for Admins

I'm Not A Developer

Are you intimidated by scripting? Does PowerShell seem too much like programming to you? You aren’t a developer, why should you learn this mumbo jumbo? It turns out, PowerShell is quite easy to get started with. Can you run ipconfig? Do you know how to give someone instructions? You could probably pick up the PowerShell basics in a month of lunches or so. Don’t believe me? I spent a few minutes to compare a simple task in four languages.

Don Jones
PowerShell Summit

Last Chance for PowerShellSummit.org Registration

Here’s a sort of last call: Registration ends on March 1st, 2016, giving you just about ten days from today (Feb 18th). Additionally, we’ve got just around 24 seats remaining. About 5 of those are available as 3-day seats, and about 19 as 4-day seats. We’ll try and slide that availability around so you’re not forced into one or the other, but this is basically last call for attendees either way.

Steve Parankewich
PowerShell for Admins

Convert VBA Macros To PowerShell for Microsoft Office Automation

There is a lot of documentation out there for interacting with Microsoft Office including Outlook, Excel, Word, etc with Visual Basic for Applications (VBA). A lot of time you may only be able to find VBA examples. VBA’s require template files to be sent to the desktop and are a real hassle when trying to automate across multiple machines. There are not many A to B examples of translating VBA to PowerShell so I took a problem I had solved in the past and presented the before and after.

Don Jones
PowerShell Summit

Planning for PowerShell+DevOps Global Summit 2017… Need Your Opinion

So, we’re already doing some planning for the 2017, 2018, and 2019 events. Because, you know. We do that around here ;). One thing we’re considering is an option to lock-in venue pricing for that three-year period, helping to ensure we can keep our pricing at around $950 for a 3-day event. Doing so requires a hotel room block lock-in as well. On the plus side, that’ll lock in hotel pricing for 3 years too, which is great in terms of affordability and predictability.

Don Jones
Scripting Games

2016-February Scripting Games Puzzle

Although we have a couple of puzzles queued up, we’ll be taking a brief break for the month of February 2016. So, no puzzle this month! However, **we are in need of puzzles, including sample solutions and explanations. **This is a community effort, so if you’ve never contributed - now’s a great time to start! Drop an email to admin@ this domain. Include a ZIP file with your puzzle, solution, and explanation - all in plain-text files, please.

Mike F Robbins

MSPSUG Feb 9th Virtual Meeting: Intro into the #PowerShell ISE, #Git, #PSPester & #OneDrive

Join the Mississippi PowerShell User Group virtually on Tuesday, February 9th 2016 at 8:30pm Central Time when Ryan Yates will be presenting an “Intro session to Teaching the IT Pro how to Dev with ISE, Git, Pester & OneDrive”. With the amount of additional technologies needed to optimise the efficency of writing PowerShell this can seem very overwelming to someone new to PowerShell and could even put them completely off following an efficency optimised script creation workflow.

timpringle

Using PowerShell to make Azure Automation Graphical Runbooks – Part 2

The previous article in this series covered the release of the Microsoft Azure Automation Graphical Authoring SDK, and began to outline some of the classes used and, where possible, the visible elements they relate to in the Azure portal itself. This second part of the series focuses on probably the most time consuming and challenging part of scripting these runbooks, those to do with Activities. You can read the full article at www.

Tim Curwick
Events

Microsoft PowerShell team panel – Twin Cities February meeting

Ever wonder just what the heck the Microsoft PowerShell team was thinking? Come find out! Keith Bankston is the senior program manager for PowerShell. Mark Gray is the senior program manager for DSC. Michael Greene is the program manager responsible for understanding customer feedback and getting it into PowerShell. Join us for a panel discussion where they will answer all of our questions about PowerShell and we in turn will answer their questions about how we use PowerShell and how we would like to use it in the future.