This post provides a free MSIX Packaging tool for the Package Support Framework (PSF), hosted in the PowerShell Gallery. Most of us already know that native MSIX has its limitations (at time of writing) in terms of compatibility with some … Continue reading →
This post contains a PowerShell Active Directory people picker, which is useful when we develop PowerShell forms that require searching for Active Directory users via their display name or username. It’s a very similar concept to our PowerShell Active Directory … Continue reading →
This post provides an example of a PowerShell Active Directory Group Picker. You can also find a similar example of our PowerShell Active Directory People Picker. When using one of my PowerShell GUI tools, we needed to select a valid … Continue reading →
This blog discusses how we can use PowerShell to monitor CPU and memory usage. I was having a few issues recently on a web server whereby the server was becoming unresponsive due to either high CPU or memory usage. It … Continue reading →
Have you ever seen the PowerShell Add-Content error The Process Cannot Access The File? I stumbled upon it a while ago when I wrote a simple PowerShell logging function. Originally the script used the Add-Content cmdlet to write and append … Continue reading →
This blog explains setting a timeout in PowerShell scripts to prevent hanging. There’s nothing worse than iterating through a list of commands and the whole workflow grinds to a halt because one command is hanging. But resolving the issue is … Continue reading →
This blog post provides an example of how we can call a PowerShell function in another PowerShell script. Let’s first assume that we have a function in a script called AlkaneFunctions.ps1 that enables us to install an MSI using PowerShell … Continue reading →
This blog post explains using PowerShell bitwise comparison operators to check and set bit flags. You can also use PowerShell to calculate bit flags by creating your own enum if desired. We must first start with a (really) basic primer … Continue reading →
Sometimes we want to blind copy (BCC) a group of users into an email, without specifying the To address. In this blog post we find a solution to send bulk emails with PowerShell using only BCC. In an earlier post … Continue reading →
Command-line arguments allow us to pass information to our scripts dynamically, making them more flexible and versatile. In this blog post, we’ll explore handling command-line arguments in PowerShell. Handling Command-Line Arguments in PowerShell Using Args When we execute a PowerShell … Continue reading →