Cmdlet
Add-OfficeAccessColumn
Adds a typed field before rows are appended.
Syntax
Add-OfficeAccessColumn [-AutoNumberSeed <Int32>] [-MaxLength <Int32>] [-Name] <String> [-PassThru] [-Precision <Int32>] [-Scale <Int32>] -Table <AccessTable> [-Type <AccessDataType>] [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Adds a typed field before rows are appended.
$table | Add-OfficeAccessColumn -Name DisplayName -Type ShortText -MaxLength 120Parameters
- -AutoNumberSeed Int32
- First sequential AutoNumber value.
- -MaxLength Int32
- Maximum short-text length.
- -Name String
- Field name.
- -PassThru SwitchParameter
- Return the created or changed object.
- -Precision Int32
- Decimal precision.
- -Scale Int32
- Decimal scale.
- -Table AccessTable
- Table in a newly created database model.
- -Type AccessDataType
- Native field type.
- Possible values:
AutoNumber,Int32,ShortText,LongText,Currency,Double,DateTime,Boolean,Guid,Binary,Byte,Int16,Single,Decimal,Int64,Complex,ExtendedDateTime,Unknown
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.