PowerShell Studio 2015 – What’s new?

The new version of PowerShell Studio is upon us. All major releases are included as a free upgrade for those with an active subscription.   PowerShell Studio 2015 We worked hard on overhauling the parser and other internal systems so that we can implement your requested features and improve the overall editing experience in PowerShell […]

Read More

Parameter validation affects parameter variables

Follow @juneb_get_help In a Google+ discussion this week, Edi Prinz demonstrated an effect of the ValidationRange parameter attribute that surprised many of us. When you validate a parameter value, the validation rules are enforced on the parameter variable — and that enforcement persists on the variable for the entire function scope. For example, this function […]

Read More

Enumerated Types in Windows PowerShell 5.0

Follow @juneb_get_help [Update: The original post referred to “enums” as “enumerators” when, in fact, they are “enumerated types.” By contrast, enumerators allow you to process items one at a time. Many thanks to Windows PowerShell MVP Dave Wyatt (@msh_Dave) for the correction.] Enums have always been a part of Windows PowerShell, because they’re an important part […]

Read More

Find variables with class

Follow @juneb_get_help I’ve been playing with the Windows PowerShell 5.0 preview and especially with its new class feature. After I create my class, I often create several instances of the class and experiment with them in my session. For example, I created a Wine class and then created several instances of my wine class. I […]

Read More

Beyond custom objects: Create a .NET class

In yesterday’s blog post, I used the Select-String cmdlet to capture the table of keywords and references from the about_language_keywords help topic and then used the new ConvertFrom-String cmdlet in the Windows PowerShell 5.0 preview to convert each row of the table into a custom object (PSCustomObject). The custom object worked quite well. I could search, sort, format, and […]

Read More

Get-LanguageKeywords: Using ConvertFrom-String on About Topics

There have been some great blog posts about the new ConvertFrom-String cmdlet in the Windows PowerShell 5.0 preview. My favorite learning tool is an excellent talk by Windows PowerShell MVP Tobias Weltner about the full range of text parsing options available in Windows PowerShell 3.0 – 5.0. While learning, I had some fun converting my […]

Read More

Removing Objects from Arrays in PowerShell

  A member of the PowerShell group on Facebook asked how to delete an object from an array. It’s a simple question, but the answer isn’t very simple at all. It’s one of those beginner questions that has an advanced answer. When I first answered this question in about_Arrays, I didn’t really know much about […]

Read More

Update-OneGet: Install OneGet on PS 3.0+

One of the coolest new features in the Windows PowerShell 5.0 preview is the OneGet module. Windows PowerShell program manager, Dan Harman, describes OneGet as a “package manager manager,” but for most of us, it represents a simple, repeatable, and reliable way to install, update, and uninstall a variety of available programs from a variety […]

Read More

The Fourth Edition of Windows PowerShell: TFM Now Available on Amazon

  As of November 5th, 2014, SAPIEN’s newest edition of Windows PowerShell: TFM is available for purchase on Amazon.com.  Whether you are located in the United States or Internationally, the ability to purchase the book is now here!  The 4th Edition of Windows PowerShell: TFM contains 22 chapters in the learning guide, as well as […]

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