PowerShell providers are a way to access data stores, such as the registry or the file system, as if they were drives in the file system. This allows you to use familiar commands, such as cd and dir, ...
Loops are an essential part of any programming language, and PowerShell looping is no exception. Loops allow you to repeat a block of code multiple times, which can be useful for a wide range of tasks ...
PowerShell profiles are a powerful way to customize your PowerShell environment. They allow you to automate common tasks, add your own aliases and functions, and set environment variables. In this ...
It turns out to be related to the -match comparison operator. -Match performs a regular expression comparison. A simple way of thinking about regular expressions is that they “describe” the patterns ...
If you’re looking to expand your knowledge of PowerShell and start working it like a pro, you should check out this book from some of the premier PowerShell trainers and gurus. Written by Don Jones ...
PowerShell is an invaluable tool for System Administrators when it comes to troubleshooting system issues. With its wide range of built-in cmdlets and flexibility, PowerShell enables you to ...
Is Add-Member the most underrated and underappreciated cmdlet in PowerShell? PowerShell is so vast and can manage so many platforms and technologies. It’s easy to get deep in one module or topic. But ...
I’ve mentioned previously about How to Create a Random Password using the .NET Framework. That works for Windows Powershell, but it doesn’t work for .NET 5, which is what modern versions of PowerShell ...
A function is a block of code that performs a specific task. It is a reusable piece of code that can be called from anywhere in your script. Functions help to modularize your code, making it easier to ...
Finding out which .NET Framework Version is currently installed is not something that most people think of every day. However, if you are a Windows Server Administrator managing web servers that run ...
I get tired of thinking up unique and strong passwords. So anymore, for the most part, I don’t do it. I will use random generated passwords, then save them into an Azure KeyVault. It is a good way to ...
Here’s a list of aliases you can use for PowerShell. An alias is just a shortcut. You can use an alias from the console or in a script, and it works just the same as the command that it references.