database-tools

Managing Windows Firewall

Beginning in Windows 8 and Server 2012, there is a cmdlet that helps you enable the client firewall for various profiles: Set-NetFirewallProfile...

read more

Clearing Recycle Bin

Before the advent of PowerShell 5.0, to clear the recycler, you would have to manually delete the content of the hidden $Recycle.Bin folder in the...

read more

Displaying InputBox

To improve user-friendlyness, you could replace Read-Host by the following Show-InputBox function and get an inputbox dialog window: #requires...

read more

Creating Simple Keylogger

By accessing the Windows low-level API functions, a script can constantly monitor the keyboard for keypresses and log these to a file. This...

read more