Create Folder Recursively With Powershell

Let’s say I want to create the following directories: C:/Program Files/MiKTeX 2.9/tex/latex/math using PowerShell because, as you may guess it, it’s a Windows directory structure. Here’s the command to do that: PS C:\> New-Item -Type Directory -Path "C:/Program Files/MiKTeX 2.9/tex/latex/math" The command seems simple enough. So why did I create this post? Well, guess what? I have to Google this out for the 3rd time this month. From now, if I need to look it up again, I can just go to https://blog....

May 14, 2020 · 1 min · 91 words · kenno

Remove Kernels on Fedora

I’m still running Fedora 31 on my main desktop though Fedora 32 beta has been out for a while. The only reason that stops me from jumping to F32 now is because ZFS 0.8.3 is not compatible with the kernel 5.6.* on F32. Rumor has it, ZFS 0.8.4 will support kernel 5.6. Tonight, while doing the system update with sudo dnf update -y on F31 desktop, I noticed that the kernel for F31 is now kernel-5....

April 26, 2020 · 2 min · 217 words · kenno

Delete a Local User Account With PowerShell

I need to delete a user from the PowerShell terminal and I don’t know how to do it. Well, fear no more, let’s have a quick read on Remove-LocalUser on how to do this. The command to delete the user is Remove-LocaUser. Remove-LocalUser [-InputObject] <LocalUser[]> [-WhatIf] [-Confirm] [<CommonParameters>] Remove-LocalUser [-Name] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>] Remove-LocalUser [-SID] <SecurityIdentifier[]> [-WhatIf] [-Confirm] [<CommonParameters>] Here is an example of deleting a local user called simba....

April 22, 2020 · 1 min · 132 words · kenno

Getting rid of old initrd files on Ubuntu

Occasionally I see some of our Ubuntu machines having /boot partition filled up by the initrd files generated from old kernels which no longer were no longer installed on the machines. root@matht232:/boot# uname -a Linux matht232 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux root@matht232:/boot# dpkg -l linux-image-\* | grep ^ii ii linux-image-5.3.0-40-generic 5.3.0-40.32~18.04.1 amd64 Signed kernel image generic ii linux-image-generic-hwe-18.04-edge 5.3.0.46.102 amd64 Generic Linux kernel image root@matht232:/boot# ls -1 /boot config-5....

April 21, 2020 · 2 min · 252 words · kenno

New System BIOS for Dell Latitude 7400 1.7.3

Dell just released a new system BIOS version 1.7.3 on April 8 for Dell Latitude 7400. This release is marked as Urgent, and comes with the following fixes and enhancements: Fixes: Fixed the issue where the Type-C port works from BIOS Boot Menu with external USB port disabled. Fixed the issue that there is no user interface for wireless connection in BIOS Connect cloud SOS interface. Fixed the issue where the system stops responding on Dell logo when SMM Security mitigation and Secure Boot is enabled....

April 12, 2020 · 2 min · 285 words · kenno