Cmdlet
Save-OfficeProject
Saves a project through the qualified native codec with loss protection.
Syntax
Save-OfficeProject [-AllowLoss] -Document <ProjectDocument> [-Force] [-Format <ProjectFileFormat>] [-PassThru] [-Path] <String> [-ReportVariable <String>] [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Saves a project through the qualified native codec with loss protection.
$project | Save-OfficeProject -Path ./delivery.mppParameters
- -AllowLoss SwitchParameter
- Permit reported conversion loss. Unsupported codecs still fail.
- -Document ProjectDocument
- Project to inspect or change.
- -Force SwitchParameter
- Replace an existing destination.
- -Format ProjectFileFormat
- Explicit generation or exchange format.
- Possible values:
Automatic,Xml,Mpp14,Mpt14,Mpp12,Mpt12,Mpp9,Mpt9,Mpp8,Mpt8,Mpx4 - -PassThru SwitchParameter
- Return the created or changed object.
- -Path String
- Destination filename; its extension selects the format.
- -ReportVariable String
- Variable receiving the preservation and conversion assessment.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.