-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Common Resource: Invoke-Query #1355
Labels
enhancement
The issue is an enhancement request.
Comments
9 tasks
johlju
added
enhancement
The issue is an enhancement request.
in progress
The issue is being actively worked on by someone.
labels
May 3, 2019
9 tasks
johlju
pushed a commit
that referenced
this issue
Jun 30, 2019
- Changes to common module: Invoke-Query - Fixes issues in [issue #1355](#1355) - Works together with Connect-SQL now - Parameters and Aliases now match that of Connect-SQL - Can now pass in credentials - Can now pass in 'Microsoft.SqlServer.Management.Smo.Server' object - Can also pipe in 'Microsoft.SqlServer.Management.Smo.Server' object - Can pipe Connect-SQL | Invoke-Query - Added default vaules to Invoke-Query
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It doesn't appear there is way to pass in all the same parameters as connect-sql. So if I wanted to connect using sql credentials or windows, I wouldn't be able to that with invoke-query
$serverObject = Connect-SQL -ServerName $SQLServer -InstanceName $SQLInstanceName
Also the parameters differ from Connect-SQL, can we create alias ServerName and InstanceName of Invoke-Query
The text was updated successfully, but these errors were encountered: