Usage .\check_odbc_query.ps1 -server SERVER_NAME -database DATABASE -uid UserID -pwd Password -Query "The query sql code" -c "Critical if over x"