Difference between revisions of "Power Shell"

Jump to navigation Jump to search
116 bytes removed ,  10:28, 8 January 2010
m
Minor edit
m (→‎Commands: Added Reader Query)
m (Minor edit)
Line 237: Line 237:
</pre>
</pre>


Instead, this function seems to work perfectly<ref name=suite101.com>{{cite web |url=http://database-programming.suite101.com/article.cfm/connecting_to_mysql_from_powershell |title=Connecting to MySQL from PowerShell |publisher=Mark Alexander Bain |year=2009 |accessdate=2010-01-07}}</ref>.  I suspect it could be simplified, but it does the job I want, returning a table of results.
Instead, this function seems to work perfectly (borrowed from [http://database-programming.suite101.com/article.cfm/connecting_to_mysql_from_powershell Mark Alexander Bain]).  I suspect it could be simplified, but it does the job I want, returning a table of results.
<pre>
<pre>
function ExecuteMySQLQuery([string]$query) {  
function ExecuteMySQLQuery([string]$query) {  

Navigation menu