Category Archives: Windows

Windows tips, howtos, scripts

Powershell: Convert a string into a securestring and back to plaintext

Hi,

.Net and therefore the powershell has the ability to define a secure string. This means that the string is immediately deleted from memory if it is no longer needed.
Continue reading Powershell: Convert a string into a securestring and back to plaintext

Windows: Get, set or change the network access type or network category

Hi,

to get and the network access type and the network category use the powershell commandlets Continue reading Windows: Get, set or change the network access type or network category

Office 365: Add Outlook shortout to explorer’s sendto context menu

Hi,

to simply send files by using the Windows Explorer sendto context menu you have to create an Outlook shortcut in the shell:sendto folder.
Continue reading Office 365: Add Outlook shortout to explorer’s sendto context menu

Windows: Working with the linux subsystem (WSL)

Hi,

this post contains some examples on how to interact with the Windows Subsystem for Linux. For an installation howto see my previous post.
Continue reading Windows: Working with the linux subsystem (WSL)

Powershell: Write XML files with UNIX line endings

Hi,

if you want to create XML files with powershell which can be used on UNIX/Linux systems you need to write an own save function. Ths save() methode of the System.XML.XMLDocument class can only write Windows style XML files with Carriage return/New line endings.
Continue reading Powershell: Write XML files with UNIX line endings