Change $MyInvocation to literal.

Since script is called via DownloadString(), so $MyInvocation is empty.