Scheduled task to restart task scheduler

Consider this - you are trying to workaround a critical flaw in the Windows task scheduler service which no one else seams to have, but it causes duplicate processes to be started each day. You don't know why, but restarting the server fixes it, and you find that just restarting…

PowerShell - useful commands to know

PowerShell can be daunting for those who are completely new to the scripting language. This is a brief post about some useful commands to know when starting out Get-Command You want to do something, but don't know the command name, or even if there is a command that does that.…

Configuring Putty defaults using PowerShell

Just a quick note to myself on how to setup Putty defaults for my linking using PowerShell commands to set the appropriate registry keys # Create the 'Default Settings' registry key if it doesn't exist if (-not (Test-Path -Path HKCU:\Software\SimonTatham\PuTTY\Sessions\Default%20Settings)) {New-Item -Path HKCU:\Software\SimonTatham\…