Add powershell implementation

Please review and merge!