Out-DataTable
Out-DataTable
SYNOPSIS
SYNTAX
Out-DataTable [-InputObject] <PSObject[]> [-NonNullable <String[]>] [<CommonParameters>]DESCRIPTION
EXAMPLES
EXAMPLE 1
$dt = Get-psdrive | Out-DataTable# This example creates a DataTable from the properties of Get-psdrive and assigns output to $dt variableEXAMPLE 2
Get-Process | Select Name, CPU | Out-DataTable | Invoke-SQLBulkCopy -ServerInstance $SQLInstance -Database $Database -Table $SQLTable -force -verbosePARAMETERS
InputObject
NonNullable
CommonParameters
Last updated