The other day I was helping a friend sort out some module-related questions. While helping him, I realized his questions and problems were not unique. Now that many of us are running Windows PowerShell 7 side-by-side, what are the implications when it comes to using PowerShell modules? What are the potential “gotchas”? And what can…
What the Shell is Happening?
The PowerShell community is beginning another year in the world of PowerShell 7. Most of you know what that means. However, there are newcomers to our community practically every day. Or I know there are occasional or reluctant users who might not pay enough attention to understand the world of PowerShell as it stands today….
Answering the CIM Directory Challenge
The last Iron Scripter challenge of 2020 was a big one. If you didn’t get a chance to work on it, see what you can come up with then come back to see my approach. As with many of the challenges, the goal isn’t to produce a production-ready PowerShell tool, but rather to push the…
Get Windows Terminal KeyBindings
As many of you know I am a big fan and daily user of Windows Terminal. So much so, that I wrote a PowerShell module called WTToolBox that you can install from the PowerShell Gallery. I’ve pushed a new version that does a better of getting key bindings. Windows Terminal makes use of a number…
Deploy OpenSSH to Windows Server
Yesterday I shared some PowerShell ideas for remotely setting up the server component of ssh on a remote Windows 10 system. This would allow you to establish an ssh session to the desktop or even use PowerShell remoting over ssh. Next, we need to look at doing the same thing for Windows Servers. Windows Server…
Deploy OpenSSH Server to Windows 10
PowerShell 7 offers a number of compelling reasons to adopt it. One of the best is support for SSH as a PowerShell remoting protocol. Unfortunately, this is not a topic that typically comes up for Windows-centric IT Pros. I know this is definitely true in my case, and a deficiency I have been working on….
Convert to Local Time with PowerShell
As some of you know, I host a monthly online Twitter chat on the first Friday of every month using the #PSTweetChat tag (although the January 2021 chat will be on 8 January.) We get together and chat about all things PowerShell at 1:00PM Eastern Time. The challenge for the rest of the world is…
Friday Fun – A PowerShell Christmas Prompt
Time for a new Friday Fun article. These articles use “fun” ways to teach you how to use PowerShell. The end goal may be silly, but hopefully the techniques and concepts are useful. Today I have an updated prompt function. You can customize your PowerShell prompt by creating a function called prompt and loading it…
Creating PowerShell Property Names
The last week or so I’ve been playing with a new PowerShell project from Dave Carroll for using Twitter from a PowerShell prompt. The module is called BluebirdPS and you can install it from the PowerShell Gallery. The module is very much still in its early stages but is functional and intriguing. The reason you…
Extracting Icons with PowerShell
Last week I was seeing what else I could add to my Windows Terminal setup. If you can launch a console from the command line, you can probably create a Windows Terminal profile for it. Recently, I’ve added Ruby and Python to my desktop, both of which have interactive consoles. I thought, “Why not add…
Answering the PowerShell Linking Challenge
A few weeks ago, the Iron Scripter challenge was to move files meeting some criteria to a new location and leave a link behind. As I’ve written before, these challenges are a great way to test your PowerShell skills and stretch yourself. This challenge has a number of moving parts. Often with PowerShell some of…
Measuring PowerShell Profile Performance
Today’s topic is one of those things that I don’t know why I’ve never addressed before. Well, I have for myself in a manual process. Hopefully you’ll find it useful. As you probably know, PowerShell uses a set of profile scripts. These scripts have hard-coded paths and PowerShell runs them in order from broadest to…
Color My PowerShell World
I readily admit that I spend a great deal of my day at a PowerShell prompt. My day is very much run from the command-line, and has been for quite some time. This used to be a drab, gray existence. But I’ve been finding ways to liven things up. Here’s one way. The PSScriptTools module…
Answering the PowerShell Registered User Challenge
A few weeks ago, an Iron Scripter PowerShell challenge was issued. This was a beginner to intermediate level challenge to get and set the registered user and/or organization values. These challenges, and solutions such as mine, aren’t intended to production-ready tools. Instead, you should use them as learning vehicles to advance your PowerShell scripting skills….
Better Performance Counters with PowerShell
I wanted to tell you about another addition to the latest release of the PSScriptTools module. This is something I’ve written about before but I decided to add the function to the module. I hope you find it a much easier way to work with performance counters. And it works in Windows PowerShell and PowerShell…