Cmdlet
New-OfficeProjectViewOptions
Creates selection, timescale and page settings for Get-OfficeProjectView -Options.
Syntax
New-OfficeProjectViewOptions
[-Baseline <Int32>]
[-Column <ProjectViewColumn[]>]
[-CriticalOnly]
[-Finish <DateTime>]
[-Grouping <ParentTask>]
[-Kind <ProjectViewKind>]
[-Margin <OfficeLength>]
[-MaximumBuckets <Int32>]
[-MaximumCells <Int32>]
[-MaximumIntervalVisits <Int32>]
[-MaximumPages <Int32>]
[-MaximumRows <Int32>]
[-NameContains <String>]
[-NetworkLayout <Dependency| Compact>]
[-NoFitToContent]
[-NoLegend]
[-NoProgress]
[-NoSummaries]
[-PageHeight <OfficeLength>]
[-PageWidth <OfficeLength>]
[-Resource <Int32[]>]
[-Start <DateTime>]
[-StatusDate <DateTime>]
[-Task <Int32[]>]
[-Timescale <Day| Week| Month>]
[<CommonParameters>]#Parameter set:
OptionsExamples
Use the native OfficeProjectViewOptions command.
$options = New-OfficeProjectViewOptions -Kind ResourceUsage -Timescale Month
Get-OfficeProjectView -Document $project -Options $optionsParameters
- -Baseline Int32
- Baseline number 0-10 to compare against.
- -Column ProjectViewColumn[]
- Uid, Name, Start, Finish, WorkHours, Cost, PercentComplete, Critical; default depends on the layout.
- Possible values:
Uid,Name,Start,Finish,WorkHours,Cost,PercentComplete,Critical - -CriticalOnly SwitchParameter
- CriticalOnly for this operation.
- -Finish DateTime
- Last visible date (exclusive); default from the schedule.
- -Grouping ProjectViewGrouping
- None (outline order, default) or ParentTask.
- Possible values:
ParentTask - -Kind ProjectViewKind
- Native report kind; defaults to Gantt.
- Possible values:
Gantt,TaskUsage,ResourceUsage,ResourceHistogram,Network,Timeline,Table - -Margin OfficeLength
- Default 28pt.
- -MaximumBuckets Int32
- Time buckets before pagination; default 1000.
- -MaximumCells Int32
- Default 1000000.
- -MaximumIntervalVisits Int32
- Default 2000000.
- -MaximumPages Int32
- Default 1000.
- -MaximumRows Int32
- Default 10000.
- -NameContains String
- Case-insensitive task name filter.
- -NetworkLayout ProjectNetworkLayout
- Network view: Dependency (default) or Compact.
- Possible values:
Dependency,Compact - -NoFitToContent SwitchParameter
- Keep the full -PageHeight instead of trimming unused space (trimmed by default).
- -NoLegend SwitchParameter
- NoLegend for this operation.
- -NoProgress SwitchParameter
- Do not fill task bars with completion (shown by default).
- -NoSummaries SwitchParameter
- Omit summary task rows (shown by default).
- -PageHeight OfficeLength
- Default 595pt; the maximum height when pages fit their content.
- -PageWidth OfficeLength
- Default A4 landscape (842pt).
- -Resource Int32[]
- Stable native resource UIDs. Pass the Uid values of selected model objects; these are identities, not collection positions.
- -Start DateTime
- First visible date (inclusive); default from the schedule.
- -StatusDate DateTime
- Status-date marker in Gantt and Timeline views.
- -Task Int32[]
- Stable native task UIDs. Pass the Uid values of selected model objects; these are identities, not collection positions.
- -Timescale ProjectViewTimescale
- Day, Week (default) or Month buckets; weeks begin on Monday.
- Possible values:
Day,Week,Month
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.