public override void ExecuteCmdlet() { this.VM.Plan = new Plan { Name = this.Name, Product = this.Product, PromotionCode = this.PromotionCode, Publisher = this.Publisher }; WriteObject(this.VM); } }