Skip to content

Instantly share code, notes, and snippets.

@martin9700
Created April 9, 2016 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martin9700/f2aa2f4eb7e454b95a88421d428709d0 to your computer and use it in GitHub Desktop.
Save martin9700/f2aa2f4eb7e454b95a88421d428709d0 to your computer and use it in GitHub Desktop.
VERBOSE: Loading module from path 'C:\testsql\testsql.psd1'.
VERBOSE: Loading module from path 'C:\testsql\TestSQL.psm1'.
VERBOSE: Exporting function 'Get-Size'.
VERBOSE: Exporting function 'Get-SQLDate'.
VERBOSE: Exporting function 'Get-SQLTime'.
VERBOSE: Exporting function 'ValidateAGClusterObject'.
VERBOSE: Exporting function 'Get-AGCluster'.
VERBOSE: Exporting function 'Get-AGDatabaseState'.
VERBOSE: Exporting function 'Get-AGReplicaState'.
VERBOSE: Exporting function 'Get-SQLAuthenticationScheme'.
VERBOSE: Exporting function 'Get-SQLBackupFileName'.
VERBOSE: Exporting function 'Get-SQLBackupStatus'.
VERBOSE: Exporting function 'Get-SQLJobStatus'.
VERBOSE: Exporting function 'Invoke-SQLQuery'.
VERBOSE: Exporting function 'Move-RemoteClusterGroup'.
VERBOSE: Exporting function 'New-SQLBackupReport'.
VERBOSE: Exporting function 'New-SQLJobStatusReport'.
VERBOSE: Exporting function 'Resize-SQLLogFile'.
VERBOSE: Exporting function 'Resume-AGReplication'.
VERBOSE: Exporting function 'Set-AGClusterFailover'.
VERBOSE: Exporting function 'Set-GroupRowColorsByColumn'.
G1:
Describing Query Tests For Invoke-SQLQuery
G2:
G3:
[-] Direct-SQL-Query 820ms
CommandNotFoundException: The term 'Invoke-SQLQuery' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at <ScriptBlock>, C:\testsql\Source\Test\Invoke-SQLQuery.tests.ps1: line 20
[-] Pipeline-SQL-Query 324ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment