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

Building a PowerShell Process Memory Tool

This week I’ve been testing out a new browser, Brave, as a possible replacement for Firefox. One of the reasons I switched to Firefox from Chrome was performance and better resource utilization. Brave...

View Article


Building More PowerShell Functions

In a recent post I discussed the the process you might go through in developing a PowerShell function. By the end, I not only had a new tool for my PowerShell toolbox, but I had a function outline that...

View Article


Maximizing My Prompt in PowerShell Core

Yesterday I wrote about my intention to make PowerShell Core, running on Windows 10, my “daily driver”. I’ve also written recently about using the PowerShell prompt function to provide a wide range of...

View Article

A PowerShell Core Out-Gridview Solution

As many of you know, this year I’ve made the jump to PowerShell Core as my “daily driver”. A major driving factor was to discover the limitations. There are certainly plenty of advantages as we move to...

View Article

Friday Fun with a Cross-Platform PowerShell Prompt

This year is turning out to be all things cross-platform for me. Continuing this line of discussion I have something fun and simple today. A PowerShell prompt function that will work cross-platform and...

View Article


Thinking Outside the Box with Another PowerShell Prompt

TThe other day I shared my simple PowerShell prompt function that displayed a few pieces of potentially useful information in a color coded box. Today I have a slight variation that also contains a few...

View Article

Keeping Git in Check with PowerShell

Last week on Twitter I saw a discussion about a git related problem. The short version of the story is that the person was running out of disk space and didn’t understand why. Turns out this person has...

View Article

Getting Git Size with PowerShell Retooled

A few days ago I wrote about my experiences in designing a PowerShell function that reports on the size of the hidden .git folder. In that version of the function I decided to include a parameter that...

View Article


Creating More Git PowerShell Tools

I have received a tremendous amount of interest in my recent articles on creating a git sizing tool using PowerShell. Many of you were savvy enough to realize the journey I was describing was just as...

View Article


PowerShell Format Files the Easy Way

Whenever I teach or present on PowerShell scripting, I’m always talking about writing objects to the pipeline. Most of the time you can simply let PowerShell format and display output of your command...

View Article

A Better PowerShell WPF Grid Viewer

A while ago I added a command called ConvertTo-WPFGrid in my PSScriptTools module. I wanted something similar to Out-Gridview but done in a WPF form. The initial version was ok and got the job done but...

View Article

PowerShell Remoting Sessions and Containers

This year I’ve been ramping up my work with containers via the Docker Desktop application. When Windows Server 2016 was in preview Microsoft tried out some PowerShell cmdlets for working with...

View Article

More Fun with Docker Containers and PowerShell

A few days ago I shared some experiences of working with Docker containers and PowerShell. As I continue to learn Docker, I am also learning how to manage it with PowerShell. The Docker command line...

View Article


Extending PowerShell and Docker Containers

I’ve been continuing to tinker with my PowerShell command for getting information about Docker containers. The Docker CLI is fine, but it is very difficult to work with the output or do much with it....

View Article

Azure PowerShell Virtual Workshop

Some of you may have seen the announcement last week about a 2-day virtual workshop I am doing with CloudSkills.fm.  I will be presenting along with side veteran cloud expert Mike Pfeiffer and Azure...

View Article


Going Down the Right %PATH% with PowerShell

I trust that most of you are aware that the reason it is often easy to run command and programs in Windows, especially items from the command prompt, is thanks to a system environmental variable called...

View Article

More PowerShell Adventures in Cleaning Your Path

A few days ago, I posted an article that demonstrated a number of PowerShell techniques and concepts that you could use to clear out obsolete locations in your %PATH% environment variable. For those of...

View Article


Securing PowerShell Class Open for Registration

I am very happy to announce that registration is open for a 4 day class I will be presenting this fall on Securing PowerShell. The class will be held in Helsinki, Finland which should make it easily...

View Article

Capturing Names with PowerShell and Regular Expressions

As you continue to learn and embrace PowerShell, you will eventually meet regular expressions. Hopefully many of you already have some fundamental knowledge. if not, the first place to start is by...

View Article

A PowerShell Proof of Concept with Windows Terminal

I recently updated my Windows 10 systems to the 1903 release. One of the reasons is that I wanted to try out the new Windows Terminal preview. You can find it in the Windows Store. This is bleeding...

View Article
Browsing all 261 articles
Browse latest View live