Get-Duplicates (or Unique items)

I take a lot of free online coding classes, mainly from Coursera and Udacity, and I’ve picked up a lot of programming tricks in other languages that are easy translated to Windows PowerShell. In a Java class on Udacity, I learned a cool way to find duplicates in any collection. It uses the fact that […]

Read More

Saving Passwords for Add-AzureAccount

One of the great features of the recent versions of Azure PowerShell is a non-interactive option for the Add-AzureAccount cmdlet. Unfortunately, the instructions tell you to save your Azure password in plain text, but there are much more secure alternatives. I explain one in this post. ——————- As users of Azure PowerShell know well, there […]

Read More

Introducing the 4th Edition of Windows PowerShell TFM

We are EXTREMELY pleased to announce the arrival of the 4th Edition of Windows PowerShell TFM; the latest, most up-to-date information available for the PowerShell version 4.0! Jason Helmick and Mike Robbins have taken the baton from Don Jones and Jeff Hicks, working vigorously to deliver useful, practical information in a resource that all levels […]

Read More

A Better ToString() Method for Hash Tables

I didn’t make it to the PowerShell Summit 2014 in Europe this year, but I’ve been getting much of the benefit by watching the Summit presentations on YouTube. After watching Windows PowerShell MVP Bartek Bielawski’s excellent presentation, in which he reviews PSCustomObjects and dynamic type data, I was inspired to fix a shortcoming in the […]

Read More

PowerShell Studio 2014: Refactoring and Other Updates

In the last PowerShell Studio article, we spoke about the updates to the Function Builder in the v4.1.72 service build. Now we will discuss the other updates in the v4.1.72 build.   Improved Rename Refactoring – We greatly improved the Refactoring speed when renaming variables and parameters. – Refactoring now takes splatting into account when […]

Read More

PowerShell Studio 2014: More Function Builder Updates

Yes, we updated the Function Builder yet again! We just released a new build of PowerShell Studio 2014 (v4.1.72). We wanted to highlight some changes and additions:   Function Validation The Function Builder will now validate your function names by checking if it already exists in your script, thus preventing duplicate functions.   Create Functions […]

Read More

The PassThru Parameter: Gimme Output

I love to explain things in clear, simple terms. So, a few weeks ago, I tweeted a request for a Windows PowerShell concept that could use more explanation. Andy Fair (@ravensportal) from Oklahoma City asked for a clear explanation of the PassThru parameter. PassThru is frequently used and frequently ignored, so I’m taking him up […]

Read More

Adding Parameter Sets to a Function

Like many of you, I really live at the command line, because automation is more efficient than single actions. But, as the command line becomes more complex, we need tools to restore our efficiency. The complex syntax of parameter sets in functions is one of those cases. In this post, I learn to use the […]

Read More

Search

Enter any query and press enter
Advanced search operators:
+ ⟶ Term must appear
- ⟶ Term must not appear
"" ⟶ Exact string must appear
How do I use these?

Join our mailing list

Enter your email address to subscribe to our mailing lists for Monthly Blog Digests, Product Announcements and more (you can choose which you receive once you sign-up!)

Tags

Categories

Archives

Dashboard