$MyInvocation is now foobared after upgrade to 3.0 inside ForEach-Object loops and it's missing the $MyInvocation.MyCommand.Name property that used to refer to the name of the script.Coincidentally the $MyInvocation.ScriptName property is now foobared in the main script scope and shows blank.So both of these properties that should show the name of the script are exclusively farked up.
Have you seen this problem before in this product?