Hi guys, I need your help in powershell + SQL. My problem is the following. I have a function that query some SQL servers. The query is the same in all cases. Basically in the functions, I do
1. I define a Dataset as $DatasetLocal = New-Object System.Data.DataSet
2. With the data returned from the Query $SqlAdapter.Fill($DatasetLocal)
3. I return $DatasetLocal
If this function return, for example, 3 times $DatasetLocal ... how can I put all three $DatasetLocal in the same data estructure?