X

Eelco Ligtvoet

Dutch nerd

Hardening your PI: SSHD protection

Steps to take to protect an internet-facing Raspberry PI (or other Debian) from brute-force SSH logins from subnets Note: Fail2ban…

Apply WhatIf to an entire script

Yesterday, I needed to create a script that would allow me to stop a lot of services in one go,…

Recovering NTFS inheritance

A little time ago, my (admin) user in Windows 10 was so badly damaged, that I had to re-create it.…

Powershell: Get an indented process tree

In PowerShell, there is the Get-Process cmdlet. However, this does not return the ParentProcessId property, so it is unsuitable for…

Reading the Windows Registry from PowerShell

Reading the Windows registry from PowerShell can be a bit cumbersome, when all you wanted to retrieve is the value…

Useful PowerShell functions and snippets

This post contains a few (short) useful PowerShell functions and snippets, that you can include in projects and/or your profile,…

Find text in files and report filenames

The "find" command usually reports too much information, because find "some_text" *.* also reports names of the files that do…

Ubuntu 14.04 and up: Rename a volume group containing root

When checking my cloned Ubuntu 14.04 LTS VM, I noticed that it still contained the volume group name from the…

Setting up a static IP address or Wifi on Raspberry PI 2 B

Eth0 static IP address configuration On the latest version of Raspbian (in my case, Raspbian GNU/Linux 8), you should not use /etc/network/interfaces…

HP Universal Printer PCL 6 driver cannot read printer capabilities

This bug I encountered last week. While writing a system to define printers and TCP/IP ports in bulk on Windows…

This website uses cookies.