# ConvertTo-OfficeProjectTable

Maps PowerShell rows to a bounded project entity table.

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`System.Management.Automation.PSObject[]`

**Outputs**

`OfficeIMO.Project.ProjectMappedTable`

**Source**

[ConvertToOfficeProjectTableCommand.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Project/ConvertToOfficeProjectTableCommand.cs#L14) 

Maps PowerShell rows to a bounded project entity table.

## Syntax

```
ConvertTo-OfficeProjectTable
-ColumnMap <IDictionary>
-InputObject <PSObject[]>
-Kind <Tasks|Resources|Assignments|Calendars>
[-MaxRows <Int32>]
[<CommonParameters>]
```

[#](#method-convertto-officeprojecttable-idictionary-psobject-projectdatakind-int32)

Parameter set: `InputObject`

## Examples

### Maps PowerShell rows to a bounded project entity table.

```powershell
Import-Csv ./tasks.csv | ConvertTo-OfficeProjectTable -Kind Tasks -ColumnMap @{ Uid = 'ID'; Name = 'Task' }
```

## Parameters

**-ColumnMap IDictionary required**

Project field name to source column header. Field names are discovered through ProjectDataField.

**-InputObject PSObject[] requiredpipeline: True (ByValue)**

Rows from Import-Csv, dictionaries or PowerShell objects.

**-Kind ProjectDataKind required**

Entity collection represented by the rows.

Possible values: `Tasks`, `Resources`, `Assignments`, `Calendars`

**-MaxRows Int32 optional**

Maximum accumulated rows.

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