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 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 ...
If you’re trying to determine which of your servers require reboots, you’ll love this PowerShell script to check the status. It turns out that a simple way to identify servers that are pending reboot ...
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.
Gathering system information is a crucial aspect of system administration, as it helps you understand the resources and components of your infrastructure. In this article, we will explore how to use ...
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, ...
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 think for a registry export I would probably just use the dos command. The PowerShell isn’t doing anything very special here, no extra functionality and I would just keep it simple. Still, there ...
This quick free lesson in PowerShell teaches you how to use the ping class to get a list of offline computers. It is fast and easy, and the results are much easier to work with than using ping.exe.
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 ...
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 ...
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 ...