Cmdlet
Add-OfficeProjectAssignment
Assigns a project resource to a task by stable UID.
Syntax
Add-OfficeProjectAssignment
[-Document <ProjectDocument>]
[-PassThru]
[-Resource] <OfficeProjectResourceSelector>
[-Task] <OfficeProjectTaskSelector>
[-UnitsPercent <Decimal>]
[<CommonParameters>]#Parameter set:
DocumentExamples
Assigns a project resource to a task by stable UID.
$project | Add-OfficeProjectAssignment -Task 1 -Resource 1 -UnitsPercent 50Parameters
- -Document ProjectDocument
- Project to inspect or change.
- -PassThru SwitchParameter
- Return the created or changed object.
- -Resource OfficeProjectResourceSelector
- Stable resource UID.
- -Task OfficeProjectTaskSelector
- Stable task UID.
- -UnitsPercent Decimal
- Assignment units as a percentage.
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.