Why Microsoft open sourced PowerShell and ported it to Linux

You can already test PowerShell in Ubuntu, Debian and CentOSrn