Windows Archives

Why your PowerShell script suddenly “cannot be loaded” in VS Code (when it ran fine 30 minutes ago)

A PowerShell script that ran fine 30 minutes ago suddenly “cannot be loaded because running scripts is disabled”? You probably didn’t change anything — you changed terminals. VS Code has two nearly identical PowerShell consoles, and only one of them obeys the execution policy.

Windows Start Menu for Pinned Groups changed after update

Funny story: while I was working today, Windows 11 decided to restart my computer – without warning – and apply a bunch of updates I couldn’t avoid. They made my Start Menu go all wonky and display ALL pinned apps I had in a previously neatly grouped arrangement of pages. It’s so bad, it makes … Read more

Getting Started with WSL in Windows 11

I wanted to access several EXT4 partitions on a dual-boot Fedora/Windows system from Windows to share storage space. One option I came across was to boot into Windows, then use WSL to mount these partitions and use them as if they were native drives. Did it work? I’ll leave that for another article (it got … Read more

How to delete all files and subfolders from the Command Line in Windows

I was looking for the Windows equivalent of the Linux command “y| rm -rf” and despite my best efforts couldn’t work it out. We need to use “del”, with a couple of switches to do this recursively and for directories, and also automatically confirm this for every entry. Here it is: This will delete everything … Read more