$MyInvocation.MyCommand.Path------->path and file name of the current script.
$MyInvocation.MyCommand.Name----->the name of a function to identity the current command.
$MyInvocation.MyCommand.Definition-->the complete path of the current script.
$MyInvocation.MyCommand.Path------->path and file name of the current script.
$MyInvocation.MyCommand.Name----->the name of a function to identity the current command.
$MyInvocation.MyCommand.Definition-->the complete path of the current script.