Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Get-OfficeProjectView

Module PSWriteOffice
Inputs
OfficeIMO.Project.ProjectDocument
Outputs
OfficeIMO.Project.ProjectView

Captures a portable report from a current calculated schedule.

Syntax

Get-OfficeProjectView -Document <ProjectDocument> [-Kind <ProjectViewKind>] [-Options <ProjectViewOptions>] [-Schedule <ProjectScheduleResult>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Captures a portable report from a current calculated schedule.

$view = $project | Get-OfficeProjectView -Schedule $schedule -Kind Gantt

Parameters

-Document ProjectDocument requiredpipeline: True (ByValue)
Project document.
-Kind ProjectViewKind optional
Report presentation.
Possible values: Gantt, TaskUsage, ResourceUsage, ResourceHistogram, Network, Timeline, Table
-Options ProjectViewOptions optional
Optional explicit report settings.
-Schedule ProjectScheduleResult optional
Current schedule result for this project revision. Omission calculates a report snapshot without changing the document.

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.