protected override void ProcessRecord() { WebPartTransformationHelper webPartTransformationHelper = new WebPartTransformationHelper(); webPartTransformationHelper.GetWebPartsByWeb(WebUrl, OutPutDirectory, SharePointOnline_OR_OnPremise, UserName, Password, Domain); }