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 ...
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 ...
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 ...
This is different than how I usually create an array: There are some real advantages to using a PSCustomObject instead of a hashtable. But if all you need to do is quickly and easily store a ...
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.
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 ...
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 ...
I administer a lot of computer brands, and support a wide ecosystem. But I see a lot of Dell Laptops, Desktops, and Servers in my normal day-to-day. A common task is to rebuild a system, or to update ...
Did you move domains recently or reconfigure your System Center Configuration Manager (SCCM)? Maybe you’ve found your Config Manager site code broken. Here’s a one-liner that shows you How to update a ...
Alright, another quick lesson in finding XML. If I want to get the GROUP node that has the SERVER named DomainController1.myDomain.demo in it… I can do that with XPath and Select-XML. #This isn't ...