Invoke-sqlcmd -Query "SELECT @@VERSION;" -QueryTimeout 3
http://msdn.microsoft.com/en-us/library/cc281847.aspx