Difference between revisions of "MySQL and PowerShell"

Jump to navigation Jump to search
m
→‎Reader Query: Corrected error in example
(Initial creation - content from PowerShell Examples page)
 
m (→‎Reader Query: Corrected error in example)
Line 115: Line 115:
$query = "SELECT * FROM subnets;"
$query = "SELECT * FROM subnets;"
$result = Execute-MySQLQuery $query
$result = Execute-MySQLQuery $query
Write-Host "Found" ($result.Length) "rows..."
Write-Host ("Found " + $result.rows.count + " rows...")
$result | Format-Table
$result | Format-Table
</source>
</source>

Navigation menu