Create Get-LastError.ps1