Added PowerShell type.
Adding support for more switch types.