Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Add-OfficeAccessTable

Module PSWriteOffice
Inputs
OfficeIMO.Access.AccessDocument
Outputs
OfficeIMO.Access.AccessTable

Adds a table to a newly created native database model.

Syntax

Add-OfficeAccessTable -Document <AccessDocument> [-Name] <String> [-PassThru] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Adds a table to a newly created native database model.

$table = $database | Add-OfficeAccessTable -Name Contacts -PassThru

Parameters

-Document AccessDocument requiredpipeline: True (ByValue)
Live database document.
-Name String requiredposition: 0
Table name.
-PassThru SwitchParameter optional
Return the created or changed object.

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.