private void WriteErrorRecord() { object error = ExecutionContext.GetVariableValue("_"); _pipelineCommandRuntime.WriteObject(error); }