Cmdlet
ConvertTo-OfficeProjectTable
Maps PowerShell rows to a bounded project entity table.
Syntax
ConvertTo-OfficeProjectTable -ColumnMap <IDictionary> -InputObject <PSObject[]> -Kind <Tasks|Resources|Assignments|Calendars> [-MaxRows <Int32>] [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Maps PowerShell rows to a bounded project entity table.
Import-Csv ./tasks.csv | ConvertTo-OfficeProjectTable -Kind Tasks -ColumnMap @{ Uid = 'ID'; Name = 'Task' }Parameters
- -ColumnMap IDictionary
- Project field name to source column header. Field names are discovered through ProjectDataField.
- -InputObject PSObject[]
- Rows from Import-Csv, dictionaries or PowerShell objects.
- -Kind ProjectDataKind
- Entity collection represented by the rows.
- Possible values:
Tasks,Resources,Assignments,Calendars - -MaxRows Int32
- 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.