How to Call Functions in Powershell (Windows)

Functions in Powershell are called without any comma or parenthesis, although they are defined using them. The correct way to call a function with two variable parameters would be: test $local1 $local2 The wrong way is: test($local1, $local2) If you put parentheses around your parameters, your input is treated as array and thus the processing ... Read more

Use Alternate Datastreams to Hide Important Files (Windows, NTFS)

There is a feature in NTFS data system that lets you easily hide your files from nosy people using your computer which is called Alternate Data Streams. What they basically do is to hide files behind others, using them as a "container", but they only are executable if you enter a specific syntax in your ... Read more

Use Double-Quotes in Quoted Expressions with ASCII Codes in Windows Powershell

While scripting, you may encouter the problem that you have an expression that uses double-quotes as tags and therefore cannot use any double-quotes inside these tags. You can circumvent this problem by using ASCII codes to add certain keys. This is done by tagging out, joining with ASCII code and joining with the tagged expression ... Read more

Disable Automatic Window Arrangement (Aero Snap, Windows 7)

The window arrangement feature in Windows 7 (the one that maximises windows to full- or half-screen when you drag them to the screen's border) might appeal to many users, I however find it rather annoying than helpful. Therefore I will show an option here that enables you to turn window arrangement off. Open the Windows ... Read more