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 ...
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 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 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 ...
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 ...
Of course, when you’re working with system, you are going to be doing a lot of analysis and poking around with the processes that are running on the system. And no matter what the OS is, there are ...
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 ...
I was going nuts trying to sort an array into a random order. I was hoping for something in PowerShell that would be along the lines of Shuffle() in PHP or Ruby. In fact, after looking at it I was a ...
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 ...
Q. How can I see what certificates are installed on a Windows computer with PowerShell? A. Using PowerShell to view certificates is easy. PowerShell has a provider that exposes the certificates store ...
The Windows PowerShell Cookbook by Lee Holmes is an incredible reference. It’s filled with useful scripts, and they are explained so that you don’t just get a cookie cutter script resource but you ...
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 ...