Cmdlet
Add-OfficeProjectDependency
Adds a finish-to-start relationship between two tasks.
Syntax
Add-OfficeProjectDependency -Document <ProjectDocument> [-LagDays <Decimal>] [-PassThru] -PredecessorUid <Int32> -SuccessorUid <Int32> [-Type <FinishToFinish|FinishToStart|StartToFinish|StartToStart>] [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Adds a finish-to-start relationship between two tasks.
$project | Add-OfficeProjectDependency -PredecessorUid 1 -SuccessorUid 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.
- -PredecessorUid Int32
- Predecessor task UID.
- -SuccessorUid Int32
- 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.