Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Add-OfficeProjectResource

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

Adds a work resource with an optional standard rate.

Syntax

Add-OfficeProjectResource -Document <ProjectDocument> [-Name] <String> [-PassThru] [-StandardRate <Decimal>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Adds a work resource with an optional standard rate.

$project | Add-OfficeProjectResource -Name Engineer -StandardRate 125 -PassThru

Parameters

-Document ProjectDocument requiredpipeline: True (ByValue)
Project to inspect or change.
-Name String requiredposition: 0
Resource name.
-PassThru SwitchParameter optional
Return the created or changed object.
-StandardRate Decimal optional
Standard work rate in the project currency.

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.