ScriptName without extension
$ScriptName = [io.path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)