Cmdlet
Open-OfficeProject
Loads a project without calculating or executing its content.
Syntax
Open-OfficeProject
[-AllowLoss]
[[-Content] <ScriptBlock>]
[-MaxInputBytes <Int64>]
[-PassThru]
[-Path] <String>
[-ReadOnly]
[<CommonParameters>]#Parameter set:
PathOpen-OfficeProject
[-AllowLoss]
[[-Content] <ScriptBlock>]
-LiteralPath <String>
[-MaxInputBytes <Int64>]
[-PassThru]
[-ReadOnly]
[<CommonParameters>]#Parameter set:
LiteralPathExamples
Loads a project without calculating or executing its content.
Open-OfficeProject -Path ./delivery.mpp -ReadOnlyParameters
- -AllowLoss SwitchParameter
- Explicitly accept native-save loss for an authoring block.
- -Content ScriptBlock
- An optional authoring block; omission returns the live document.
- -MaxInputBytes Int64
- Maximum source size in bytes.
- -PassThru SwitchParameter
- Emit the FileInfo after a completed authoring block.
- -Path String
- Literal filesystem path.
- -ReadOnly SwitchParameter
- Open without allowing edits.
- -LiteralPath String
- Exact source path without wildcard expansion.
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.