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)…

Disqus on Ghost with CSP

Having moved my blog to Ghost I lost a comments section for each post. This was functionality which was built into Blogger (my previous blogging platform) as a standard option, and I wanted to get it back The Ghost platform focuses primarily on the ease of creating the article, and…

Finding WWN of LUNs on Windows Server 2008 R2

A quick post, for my reference You have a physical server with a HBA & LUNs presented from a SAN. What's the WWN of a specific LUN? PS> (Get-WMIObject -Namespace root\wmi -Class mpio_disk_info).DriveInfo | Select-Object Name, SerialNumber The "SerialNumber" is…

Audit AD GPO changes

Assuming you've already got AD object auditing turned on, the following XML XPath filter can filter the Security log of a DC to only return the events related to AD GPO changes <QueryList> <Query Id="0" Path="Security"> <Select…