Skip to main content

New-DataTable

SYNOPSIS

SYNTAX

New-DataTable [-TableName] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Creating a DataTable object

EXAMPLES

EXAMPLE 1

$OrderTable = New-DataTable -TableName 'Orders'

This example will create a datatable and return the datatable object.

PARAMETERS

-TableName

Defines the data table name. This property is used when referencing the table in a dataset for instance.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Object[]

NOTES

EDIT THIS DOC

This page was auto-generated from the powershell command comment based help. To edit the content of this page, update the script file comment based help on github Github