Quantcast
Channel: PowerShell Archives • The Lonely Administrator
Browsing all 261 articles
Browse latest View live

Learn More about PowerShell and Regular Expressions

For many Windows-oriented IT Pros, and I used to be one of them, regular expressions was an arcane topic that was too hard to learn. And we never really had a compelling need to learn because we were...

View Article


A New PowerShell PSBlogWeek is Coming

If you’ve been on Twitter for a while, you may have seen a PSBlogWeek event in the past. This is an online event with a coordinated set of blog posts from a group of bloggers and community members all...

View Article


PowerShell Remoting Profiles with Windows Terminal

I have jumped in the deep end and fully committed to Windows Terminal as my default PowerShell environment. I love having one interface with tabs for different terminal profiles. Windows Terminal makes...

View Article

Friday Fun PowerShell ASCII Art

Today’s post is definitely on the fun side. In fact, I apologize in advance for the afternoon you are about to blow playing with this code. Those of you of a certain age will recall dial up modems and...

View Article

Fast Folder Sizes with PowerShell

I am always looking for ways to do things faster and easier with PowerShell. One common task that I never seem to stop needing is discovering how much disk space a given folder is consuming. Even...

View Article


PowerShell 7 Remoting Cleanup

Now that PowerShell 7 is here and hopefully installed on your Windows 10 desktop, you’re good to go, right? I’d say you probably all set. However, if like me, you were running PowerShell 7 betas or had...

View Article

Extending External Scripts in PowerShell

I’m always looking for ways to do more with PowerShell. And often, once I find a technique, I look for other areas where I can apply it. I’m hoping that today might be like that for you. You may not...

View Article

PowerShell 7 Cross-Platform Scripting Tips and Traps

One of the reasons you want to adopt PowerShell 7 on your desktop, is that it can  be used cross-platform. Theoretically, you can write a PowerShell script or function that works on Windows, Linux, and...

View Article


PSDrives, Shortcuts and Links

I’ll be honest. I’ve never been much of a OneDrive user. Even though I’m a great candidate given that I use multiple systems and need access to a common set of files. But for a number of reasons I’m...

View Article


PowerShell Left-Center-Right

Normally,  I’d leave a post like this for a Friday Fun article. But given the situation these days, I thought some of you might like to start your week off with a little fun.  And maybe even learn a...

View Article

Importing Pester Results into PowerShell

Last week, a PowerShell scripting challenge was posted on the Iron Scripter web site.  The idea was that when you run a Pester test, you can save the results to a specially formatted  XML file....

View Article

Backing Up Windows Terminal Settings with PowerShell

I’ve been a big fan of Windows Terminal since the very beginning. In fact, I’ve been using it for so long that I’ve been moving along profile settings that have long since changed. I didn’t bother to...

View Article

PowerShell Helper Scripts for Windows Terminal

I’ve spent some time over the last few days getting my Windows Terminal setup in order. Hopefull you saw my recent post about backing up my settings.json file. I’ve also put together a few other simple...

View Article


A PowerShell Windows Terminal Toolbox

Last week I shared some PowerShell code I had been using to manage different aspects of Windows Terminal. I also had posted a script to backup my Windows Terminal settings file.  With all that code,...

View Article

Get Installed PowerShell Versions

As is the norm for a typical day, I was working on one thing when I was distracted by a shiny rabbit hole (to mix some metaphors). Half a day later I have a new PowerShell function that not only might...

View Article


A PowerShell Remote Function Framework

The other day I shared a PowerShell function to query the registry on remote computers to find installed versions of PowerShell. The function leveraged PowerShell remoting with the flexibility of using...

View Article

PowerShell 7 Scripting with the PowerShell ISE

By now, everyone should have gotten the memo that with the move to PowerShell 7, the PowerShell ISE should be considered deprecated. When it comes to PowerShell script and module development for...

View Article


A PowerShell Network Monitor

I hope you’ve been trying your hand at the scripting challenges being posted on the Iron Scripter web site. The challenges are designed for individuals to do on their own to build up their PowerShell...

View Article

Open Windows Terminal PowerShell Split Paned

The other night I presented for the Mississippi PowerShell User Group on how to get started using Windows Terminal. This has been my go-to PowerShell console for quite a while. I use Windows Terminal...

View Article

Friday Fun with PowerShell and ANSI

Ever since PowerShell 7 came along, I’ve been having a lot of fun exploring what I can do with ANSI color escape sequences. And actually, even in Windows PowerShell you can use them. Although you need...

View Article
Browsing all 261 articles
Browse latest View live


Latest Images