Difference between revisions of "MySQL and PowerShell"
Jump to navigation
Jump to search
(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" | Write-Host ("Found " + $result.rows.count + " rows...") | ||
$result | Format-Table | $result | Format-Table | ||
</source> | </source> |