I am trying to generate md5 hash from Powershell. I installed Powershell Community Extension (Pscx) to get command : `Get-Hash`

However when I generate md5 hash using `Get-Hash`, it doesn't seem to match the hash generated using `md5sum` on an Ubuntu machine.

Powershell:
===========

```
PS U:\> "hello world" | get-hash -Algorithm MD5

Path Algorithm HashString                       Hash
---- --------- ----------                       ----
     MD5       E42B054623B3799CB71F0883900F2764 {228, 43, 5, 70...}

```

Ubuntu:
=======

```
root@LT-A03433:~# echo "hello world" | md5sum
6f5902ac237024bdd0c176cb93063dc4  -

```

I know that the one generated by Ubuntu is correct as a couple of online sites show the same result.

What am I going wrong with Powershell Get-Hash?