Starting to contribute

I saw that there were error messages coming from the if (Get-Command logic