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 ...
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 ...
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 ...
PowerShell is an incredibly powerful tool that allows system administrators to perform network management tasks with ease. Of course when you’re troubleshooting a system you’re going to want to test ...
PowerShell is a powerful tool for system administrators and IT professionals that enables them to manage, automate, and configure various systems and platforms. One of the key features of PowerShell ...
PowerShell is a powerful scripting language and command-line shell that is designed to automate system administration tasks and manage Windows-based environments. With the release of PowerShell 7, it ...
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 ...
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 ...
The If statement is the most basic conditional statement in PowerShell. It allows us to execute a specific code block if a specific condition is true. Here is the ...
It’s really easy to get the size of a folder with PowerShell. Even though the directory does not actually have a property for size, you just need to get the size of all of the files inside the folder.
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 ...