Steve Lee

Principal Software Engineer Manager, PowerShell

Principal Software Engineer Manager PowerShell 7, PowerShellGet, PSScriptAnalyzer, VSCode-PowerShell extension, PowerShellEditorServices, etc...

Post by this author

Heterogeneous Job Scheduling With PowerShell

JAMS (Job Access & Management System) is a commercial software product that provides job scheduling for Windows, OpenVMS, UNIX and Linux systems. It now provides full PowerShell support. What does that mean? They say that they support PowerShell in three ways: JAMS-specific PowerShell host to tightly control scripts under JAMs. I don't know ...

Partying with Join-Path

Did you realize that you can Join-Path can work on multiple items? PS> Get-Help Join-Path -parameter *path -path Specifies the main path (or paths) to which the child-path is appended. Wildcards are permitted. The value of Path determines which provider joins the paths and adds th e path delimiters. The Path parameter is required, ...

Hosting Windows PowerShell Part 2 of 3

David Aiken is at it again. In his latest segment of the DFO show – Hosting Windows PowerShell Part 2, he converts the code he produced in Part 1 to use strong types by casting the PSObject.BaseObject. From there, he add the ability to select one the SERVICEs he displays and then to Stop it using the Stop-Service cmdlet. In Part 1, he showed...

Surfing the Web the PowerShell Way

I spend a lot of my time in the command line (surprised?). That said, I also spend a lot of time surfing the web. Here is a script that I wrote that lets me surf the web from PowerShell: UrlTemplateMap = @{ "bs" = "http://blogsearch.google.com/blogsearch?hl=en&q={0}&ie=UTF-8&scoring=d" "dr" = "http://drudgereport.com" "gtr" = "http://www....

Why Isn’t PowerShell.exe Authenticode Signed?

This question came up on our internal forum last week, and Jeffrey, knowing of my sharp wit and keen hand for prose, asked me to blog about the answer. So here goes: It is Authenticode signed. Just in a special way. The Windows PowerShell update packages each contain a catalog (.cat) file, which has a list of files in the package and a ...

VBScript -> PowerShell

Are you a VBscripter in the process of becoming a PowerShell scripter? Once you become a PowerShell scripter, you'll find incredible gains in productivity but first you have to becoming a PowerShell scripter. There are a few things that can help. First and foremost is PowerShell's interactive nature. This allows you to quickly and easily ...

Even More PowerShell Training

The 2 day course PYGPOWER – PowerShell for Administrators is being offered in London by Pygmalion. I've been told by a couple of sources that the European demand for PowerShell training is huge – even more so than in the US. I would love to hear any theories about why this is so. With that, I'll have to tell you one of my favorite jokes...

PowerShell Community Extensions (PSCX) V1.1.1

Keith Hill reports in his blog HERE , that the PowerShell Community Extensions project has release Version 1.1.1. If you aren't already turned on to PSCX, this is a good time to start. This is a maintenance release which resolves 30 issues but it also adds 5 new features. I'm going to include their Help topic below so you can get a feel for ...

Hosting PowerShell in a GUI – the Movie

You've just got to stop and take 4 minutes to watch David Aiken's demonstration of how easy it is to host PowerShell in a GUI. Seriously, it is a 4 minute video! Even if you aren't a developer, it is worth looking at so you understand the concept and the work involved and then you can use that to demand your vendors provide you this function! ...

Figuring Things Out

In my last blog entry, I showed how a script can get the directory it resides in. Jvierra commented: So being a team member doesn't make one know everything. Sad but true! The interesting thing about this is that at some point I knew this information but then I forgot it so I had to figure it out again. It reminded me of a 2 studies made of...