Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Invoke-OfficeProjectSchedule

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

Explicitly calculates a schedule and optionally applies its dates.

Syntax

Invoke-OfficeProjectSchedule
[-Apply]
[-CalculateAssignments]
[-Document <ProjectDocument>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: Document

Examples

Explicitly calculates a schedule and optionally applies its dates.

$project | Invoke-OfficeProjectSchedule -CalculateAssignments -Apply

Parameters

-Apply SwitchParameter optional
Apply an error-free result to this project. Otherwise return a calculation without changing stored dates.
-CalculateAssignments SwitchParameter optional
Also calculate assignment work and costs.
-Document ProjectDocument optionalpipeline: True (ByValue)
Project to inspect or change.
-WhatIf SwitchParameter optional
Shows what would happen if the command runs.
-Confirm SwitchParameter optional
Prompts for confirmation before running the command.

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.