Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Import-OfficeProjectTable

Module PSWriteOffice
Inputs
OfficeIMO.Project.ProjectMappedTable[]
Outputs
OfficeIMO.Project.ProjectDocument

Imports explicitly mapped tables into a new project without changing existing documents.

Syntax

Import-OfficeProjectTable [-AllowUnmappedColumns] [-CalendarUid <Int32>] [-MaxRows <Int32>] [-Name <String>] [-ReportVariable <String>] [-StartDate <DateTime>] -Table <ProjectMappedTable[]> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Imports explicitly mapped tables into a new project without changing existing documents.

$taskTable | Import-OfficeProjectTable -Name Delivery -ReportVariable importReport

Parameters

-AllowUnmappedColumns SwitchParameter optional
Explicitly permit ignored source columns and return notices.
-CalendarUid Int32 optional
Imported project calendar UID.
-MaxRows Int32 optional
Maximum rows across all tables.
-Name String optional
Project name.
-ReportVariable String optional
Variable receiving the import result and notices.
-StartDate DateTime optional
Explicit local start date.
-Table ProjectMappedTable[] requiredpipeline: True (ByValue)
At most one table for each entity kind.

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.