Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Get-OfficeProject

Module PSWriteOffice
Inputs
System.String
Outputs
OfficeIMO.Project.ProjectDocument

Loads a project without calculating or executing its content.

Syntax

Get-OfficeProject [-MaxInputBytes <Int64>] [-Path] <String> [-ReadOnly] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Loads a project without calculating or executing its content.

Get-OfficeProject -Path ./delivery.mpp -ReadOnly

Parameters

-MaxInputBytes Int64 optional
Maximum source size in bytes.
-Path String requiredposition: 0pipeline: True (ByValue, ByPropertyName)aliases: FilePath, FullName, LiteralPath
Literal filesystem path.
-ReadOnly SwitchParameter optional
Open without allowing edits.

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.