Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

how add contents of the string to 2 table objects

$
0
0
Hi, I have string with following format $string = @' AvgSQLCpu,AVGCpu,AVGOtherCpu 100,97,2 alertType,alertStatus,alertGenerate,alertDetails HIGHCPU,ERROR,0, '@ I have 2 table objects [object] $tbl1 = New-Object Data.DataTable "tbl1"

Viewing all articles
Browse latest Browse all 467

Trending Articles