CmdletInvocationException.ErrorRecord Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The error reported by the cmdlet.
public:
 virtual property System::Management::Automation::ErrorRecord ^ ErrorRecord { System::Management::Automation::ErrorRecord ^ get(); };
	public override System.Management.Automation.ErrorRecord ErrorRecord { get; }
	member this.ErrorRecord : System.Management.Automation.ErrorRecord
	Public Overrides ReadOnly Property ErrorRecord As ErrorRecord
	Property Value
never null