Skip to content
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

RunSqlCmdScripts Feature Request: Log/Output file #4

Open
RajAdusumalli opened this issue Jun 8, 2019 · 2 comments
Open

RunSqlCmdScripts Feature Request: Log/Output file #4

RajAdusumalli opened this issue Jun 8, 2019 · 2 comments

Comments

@RajAdusumalli
Copy link

Hi John,

Thank you so much for creating this very useful extension. Is it possible for you to add an option to add logging capabilities for each file to a specific location?

FYI, I tried using the Invoke-Sqlcmd from powershell with outputas param specified but no output is recorded for the Insert and Update statements (rows affected). Any help would be appreciated.

@DrJohnT
Copy link
Owner

DrJohnT commented Jun 15, 2019

I will take a look when I get back from holiday

@DrJohnT DrJohnT changed the title Log/Output file RunSqlCmdScripts Feature Request: Log/Output file Jan 11, 2021
@DrJohnT
Copy link
Owner

DrJohnT commented Jan 15, 2021

@rajhii
Are you talking about this option for Invoke-Sqlcmd?
Example 2: Invoke commands in a script file and save the output in a text file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants