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>]
[-Schedule <ProjectScheduleResult>]
[<CommonParameters>]
#
Parameter set: Document
Get-OfficeProjectView
[-Document <ProjectDocument>]
-Options <ProjectViewOptions>
[-Schedule <ProjectScheduleResult>]
[<CommonParameters>]
#
Parameter set: Options

Examples

Captures a portable report from a current calculated schedule.

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

Parameters

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

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.