Change publishing API call on PublishItem cmdlet.  Use PublishManager rather than PublishItemPipeline.