PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language. Initially, a Windows component only, known as Windows PowerShell, it was made open-source and cross-platform on 18 August 2016 with the introduction of PowerShell Core. The former is built on .NET Framework while the latter on .NET Core.
If you need to automate anything, PowerShell is the way to do it in Windows. It’s not always easy, but it is worth it: automation first!
Looks like my organization (accidentally) wants to manage my background picture. If you are an admin, you might be able to (temporarily) override the wallpaper, by editing your registry and restarting the explorer process. If you can, you can automate it using PowerShell.
I love using Visual Studio Code as it is very flexible and runs almost anywhere. It is usually the first editor I install on a new machine. Let’s script those plugin installs, so we can roll them out to new machines.
Here I’ll store my notes on WSL tuning. I mainly use WSL to do Dev Containers, so I need it to run as smooth as possible. My main problems include: memory and disk size. Let’s see what we can do to address the problem.
Let’s explore how to add a dev container to our Node.js bot-zero project. We’ll help the end user to understand how to run the project by adding a profile script whenever the terminal is openend in Visual Studio Code.
I’m on Windows and I use AWS Vault to connect to AWS using an MFA token. It works wonderfully, unless you need to execute some Bash scripts. I love using Bash on Windows, as WSL makes it really easy to write my scripts. But, alas, the AWS environment variables set by AWS Vault are not […]
I have no idea how I came to this point, but the yellow colors in my terminal (both cmd and PowerShell) are not bright yellow anymore. So I want to reset my colors back to the old values! Turns out that getting them back is not as straightforward as I had hoped…
These scripts will help to install Ubuntu to a Windows Server 2019 installation. It will download Ubuntu and activate the Linux Subsystem on Windows (WSL).
I’ve been having some problems with the search feature of Windows 10. It suddenly stopped working. I don’t exactly know when or why, but it did not come back by turning the computer on and off again. Reinstalling Cortana worked for me.
When I work in a low-light environment I like to have fine-grained control over the brightness of my monitor. When I change the brightness using the special function keys on my keyboard, it changes in steps of 10%! That’s a lot. PowerShell to the rescue!