Fix Get-Command error messages

Add -ErrorAction SilentlyContinue to if statements - doublecheck the logic for Get-Reg and LogUserAssist (they're the same) I think I did it right, but you're the boss.