Skip to main content

Posts

Showing posts from October, 2019

My Advanced PowerShell Class has just been updated!

First of all, thank you to my fellow presenters at PowerShell Conference Asia 2019.  All of you really helped me to update the content of my advanced PowerShell class.  Content will be delivered in PowerShell 7.  We will be addressing compatibility with your pre-exiting scripts when running in PSv7 as well as providing a few new tricks. As you can see, I am also adding in content on some of the experimental features that I think are going to be a hit.  If you are interested, drop me an email and I'll help get you into a physical class or join me on an online class.

My VSCode Configuration for PowerShell

Two weeks ago, I had the honor of delivering a workshop at PowerShell Conference Asia in Bangalore.   My workshop was called Zero to Hero where I taught the fundamentals of PowerShell with the goal of allowing the conference attendees to have the confidence to attend the rest of the high-level sessions.   It was a success!   With 60 PowerShell enthusiasts enrolled, the organizers had to close registration. I made the decision to utilize VSCode as our scripting platform to get the attendees on the path from the ISE to VSCode.   One of the first questions given to the PowerShell team members at the conference was “Will there be an ISE for PowerShell 7”.   Their answer, “No”.   I also made the decision to deliver the class using the just released PowerShell 7-Preview 4.   This version addressed several issues that I had with Preview 1-3.   It is not perfect, but it is now at the performance and reliability level that I want and I am teaching it in my Windows PowerShell c

The Return of Out-GridView

Yes, our beloved cmdlet Out-GridView has been returned to us!   The original Out-Gridview was an easy and convenient way to quickly create GUI output and to accept limited input. In PowerShell Core (PSv6) we lost our beloved cmdlet.   Well, it is back! For these demonstrations I am utilizing PowerShell 7-Preview 4. Out-Gridview is actually being provided as a module.  Execute the code below to install it.  Out-GridView still works the same as it did before. Let’s take a look at a few of the features and what is new with Out-GridView.  The Quick Serach field works the same at the Filter field in the Windows PowerShell version of Out-Gridview.  Type something and if what you type appears in any of the objects property. Here is something new.  It involves the filtering capability.  Once you build a filter, click the Show Code button. You can now have Out-GridView to create the filter it is using in code so you can copy it and past