Set-XFileOwner: PowerShell function for chown
PowerShell. It runs on Windows, Mac, and Linux. Several modules run on Windows don’t exist on Mac or Linux yet. Many modules will be hard… Read More
PowerShell. It runs on Windows, Mac, and Linux. Several modules run on Windows don’t exist on Mac or Linux yet. Many modules will be hard… Read More
Visual Studio Code has a bug for install-extension in version 1.15.1. code --install-extension ms-mssql.mssql will now result in the error below: (node:13048) UnhandledPromiseRejectionWarning: Unhandled promise… Read More
In Fmg-Build, Full Metal Gnome Build Module, there is a function called Get-FmgBuildDirectory, its sole purpose is to get the build directory for the environment. Read More
I find that trying to run NPM install for all dependencies in a different folder than where the package.json resides,… a bit troublesome. My primary… Read More
Security is hard. One of the common mistakes I’ve seen people make in creating a password generation function is using Get-Random or Math.Random to generate… Read More
A quick and dirty way to have string templates in PowerShell is to invoke $ExecutionContext.InvokeCommand.ExpandString to interpolate strings. The tricky part is that variables have… Read More
Introducing Posh-ChocoBear, a PowerShell module for installing and using Chocolatey. Lately, I’ve had to install custom chocolatey installations with multiple feeds and I’ve… Read More
Recently, I found that I needed to determine if a computer and user is part of an Azure AD domain using only Powershell. I couldn’t… Read More