Print Currently Executing Script Name

Below is a handy bit of code that prints out the currently executing script name, which can be helpful to include in your scripts if you find yourself jumping from project to project, or in case you accidentally fired off the wrong script.

$MyInvocation.MyCommand.Name