# Add-OfficeProjectResource

Adds a work resource with an optional standard rate.

Cmdlet 

Aliases: ProjectResource

**Module**

`PSWriteOffice`

**Aliases**

`ProjectResource`

**Inputs**

`OfficeIMO.Project.ProjectDocument`

**Outputs**

`OfficeIMO.Project.ProjectResource`

**Source**

[AddOfficeProjectResourceCommand.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Project/AddOfficeProjectResourceCommand.cs#L17) 

Adds a work resource with an optional standard rate.

## Syntax

```
Add-OfficeProjectResource
[-Document <ProjectDocument>]
[-Name] <String>
[-PassThru]
[-StandardRate <Decimal>]
[<CommonParameters>]
```

[#](#method-add-officeprojectresource-projectdocument-string-switchparameter-decimal)

Parameter set: `Document`

## Guides & Samples

Authored walkthroughs and practical samples linked to this command.

- [Project, Access, and EPUB Files](/docs/pswriteoffice/project-access-epub/) Guide
  
  Create and read Microsoft Project schedules, Access databases and EPUB books from PowerShell, without Project or Access installed.

## Examples

### Adds a work resource with an optional standard rate.

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

## Parameters

**-Document ProjectDocument optionalpipeline: 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:3A27403A4B1CF1DC444D10B4292A8E3694B29B56FCAA0DC97D9CE67630EBE285 -->
