/// <summary> /// Adds properties to the <see cref="PatchInstallation"/> object and writes it to the pipeline. /// </summary> /// <param name="patch">The <see cref="PatchInstallation"/> to write to the pipeline.</param> private void WritePatch(PatchInstallation patch) { var obj = patch.ToPSObject(this.SessionState.Path); this.WriteObject(obj); }