Command line parameters. Checking command line arguments passed to PS script are present.
Good article here on why we should not use triggers and special case, audit, where it might have a role
Good article here on why we should not use triggers and special case, audit, where it might have a role