Cmdlet
Add-OfficeAccessTable
Adds a table to a newly created native database model.
Syntax
Add-OfficeAccessTable
[[-Content] <ScriptBlock>]
[-Document <AccessDocument>]
[-Name] <String>
[-PassThru]
[<CommonParameters>]#Parameter set:
DocumentExamples
Adds a table to a newly created native database model.
$table = $database | Add-OfficeAccessTable -Name Contacts -PassThruParameters
- -Content ScriptBlock
- Content block whose AccessColumn and AccessRow commands target the new table.
- -Document AccessDocument
- Live database document.
- -Name String
- Table name.
- -PassThru SwitchParameter
- 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.