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