Updating Error Handling inside try/catch block

Updating powershell.exe to Invoke-Expression in order for the try catch block to catch the exact error in the creation of the mof. This will help troubleshoot client mof's easier.