Cmdlet
Add-OfficeProjectDependency
Adds a finish-to-start relationship between two tasks.
Syntax
Add-OfficeProjectDependency
[-Document <ProjectDocument>]
[-LagDays <Decimal>]
[-PassThru]
[-Predecessor] <OfficeProjectTaskSelector>
[-Successor] <OfficeProjectTaskSelector>
[-Type <FinishToFinish| FinishToStart| StartToFinish| StartToStart>]
[<CommonParameters>]#Parameter set:
DocumentExamples
Adds a finish-to-start relationship between two tasks.
$project | Add-OfficeProjectDependency -Predecessor 1 -Successor 2Parameters
- -Document ProjectDocument
- Project to inspect or change.
- -LagDays Decimal
- Working-day delay; negative values represent lead time.
- -PassThru SwitchParameter
- Return the created or changed object.
- -Predecessor OfficeProjectTaskSelector
- Predecessor task UID.
- -Successor OfficeProjectTaskSelector
- Successor task UID.
- -Type ProjectDependencyType
- Dependency relationship.
- Possible values:
FinishToFinish,FinishToStart,StartToFinish,StartToStart
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.