How to delete disk partitions on Windows using PowerShell

Today I just added an old SSD to a Windows machine to use it as a back up drive. With old disks, usually they come with existing data, and I wanted to get rid of it. The problem is I couldn’t figure out how to do this using the Disk Management, the native GUI application used to manage disks. The problem could be simple to Windows users. Basically, when I right-clicked on the 2 partitions (450 MB and 100 MB) on Disk 0, there is no option to remove them....

May 15, 2022 · 3 min · 618 words · kenno

Where is which in PowerShell

As the title says, an easy way to find out the path of a program/command on Windows using PowerShell can be done with Get-Command cmdlet. For example, I want to find out where I had installed nvim (Neovim) on a rarely use Windows machine. To do this, I can execute the following command: ❯ Gt-Command nvim CommandType Name Version Source ----------- ---- ------- ------ Application nvim.exe 0.0.0.0 C:\Program Files\Neovim\bin\nvim.exe With PowerShell, we can also just print a specific attribute (?...

June 16, 2021 · 1 min · 114 words · kenno

How to find the motherboard model on Windows 10

To find the motherboard model number on Windows (10), run cmd, and type: C:\Users\kenno>wmic baseboard get product,Manufacturer,version,serialnumber Manufacturer Product SerialNumber Version Gigabyte Technology Co., Ltd. Z170N-Gaming 5 To be filled by O.E.M. x.x Ref & credit: How to Find Computer and Motherboard Model Serial Number on Windows 10

January 14, 2018 · 1 min · 48 words · kenno

Profile backup - Mozilla FireFox and Thunderbird

At work, a colleague is struggling to get his PC up and running for a few days now. To add an insult to injury, he also lost some of his Microsoft Outlook back up emails. Seeing what happened to him, it’s a good reminder that I shall back up my files and emails too. I use Mozilla Thunderbird (2.0.0.22), and I found a very nice tool to back up the emails (a....

August 13, 2009 · 1 min · 88 words · kenno