Update PowerShell (to YAML and to PS3/4 syntax)

Not much to say here, just a long overdue push request to get this updated to PowerShell 3
NOTE: there's no WorkFlow or DSC syntax here -- just straight PowerShell.
Please, use original CRLF line terminators so changes can be reviewed more easily.