Finished code for sql_audit_servicepack.ps1 for testing