All posts by Michael Albert

Powershell: Encode and decode Base64 strings

Hi,

short post today. How to en- and decode base64 strings.
Continue reading Powershell: Encode and decode Base64 strings

Windows: Cleanup Permissions from deleted Active Directory Objects

Hi,

in domain environments it sometimes happens that user or groups would be deleted but is still authorized on many object, i.e. filesystems, shares etc..

Continue reading Windows: Cleanup Permissions from deleted Active Directory Objects

Windows: Start WiFi/WLAN Network Connection Dialog from command line or C#

Hi,

to start the Windows Wireless Connection Dialog from a command shell use the following command line
Continue reading Windows: Start WiFi/WLAN Network Connection Dialog from command line or C#

Windows: Prevent from release a DHCP lease on shutdown

Hi,

Windows by default releases the DHCP lease on shutdown. This is not useful if you often have to boot Windows and you want (if possible) the same IP Address Windows has before booting.

By default Windows interprets DHCP Option 2 submitted by the DHCP Server and if this is not set it release the lease.
Continue reading Windows: Prevent from release a DHCP lease on shutdown

Debian: Shutdown when pressing power button

Hi,

when you install Debian with just the Standard minium System utilities a power off by pressing the power button is not possible.

Continue reading Debian: Shutdown when pressing power button