News

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 ...
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 ...
Have a complaint from a user that a server is sluggish? Maybe you’re just curious if the problem you’re seeing on a server is related to a process consuming a lot of CPU, or you know the CPU is pegged ...
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 ...
PowerShell Remoting is a powerful feature that allows administrators to manage multiple remote systems from a single console. It allows you to run commands and scripts on remote computers, transfer ...
I’m sure that you’ve seen plenty of scripts that set a path like “C:\temp” for logs, files, and other outputs. But did you know that it’s actually very easy to add a pop up directory UI in PowerShell ...
This will return a list of modules whose names or descriptions contain the word “bird”. You can then select the module you want to install based on the name and ...
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 ...
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 ...
PowerShell hashtables are a type of collection that allow you to store data in a key-value format. They’re incredibly useful for storing and retrieving data, and they’re a common feature in 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 ...