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’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 ...
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 ...
Microsoft Virtual Academy has a course on PowerShell 3 that you just can’t miss. This is part one of a series, so don’t fall behind. The first course is “Getting Started with PowerShell 3.0 Jump Start ...
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 ...
These courses are created and presented by me, and brought to you through Packt Publishing.
So you want a quick and easy stopwatch with PowerShell to time how long you’ve been at a task? Want to see how long it takes for your coworkers to realize you’re awesome? Would you like to use ...
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 ...
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 ...
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 ...
The need: To run multiple PowerShell windows and keep it straight which one is working on what. Example: In PowerShell window #1 you’re working with SharePoint In PowerShell window #2 you’re working ...