# Get-OfficeProjectAssignment

Returns project assignments. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice Cmdlet Reference.

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`OfficeIMO.Project.ProjectDocument`

**Outputs**

`OfficeIMO.Project.ProjectAssignment`

**Source**

[GetOfficeProjectAssignmentCommand.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Project/GetOfficeProjectAssignmentCommand.cs#L15) 

Returns project assignments.

## Syntax

```
Get-OfficeProjectAssignment
[-Document <ProjectDocument>]
[-Uid <Int32[]>]
[<CommonParameters>]
```

[#](#method-get-officeprojectassignment-projectdocument-int32)

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

### Returns project assignments.

```powershell
$project | Get-OfficeProjectAssignment
```

## Parameters

**-Document ProjectDocument optionalpipeline: True (ByValue)**

Project document.

**-Uid Int32[] optional**

Optional stable identities.

## 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:7BD6AC6D70506F176345A6D088BF9EB1647032F4614DBA3700DDD1B6089A025C -->
