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

Copy-SQLLogins output file for named instance #8

Open
rudi-bruchez opened this issue Mar 1, 2016 · 2 comments
Open

Copy-SQLLogins output file for named instance #8

rudi-bruchez opened this issue Mar 1, 2016 · 2 comments

Comments

@rudi-bruchez
Copy link

I changed line 28 in
PowerShell/SQLUtility/SQLUtility/Copy-SQLLogins.psm1
from
$filename = $source.Replace('/','_') + '_' + (Get-Date -Format 'yyyyMMddHHmm') + '_logins.sql'
to
$filename = $source.Replace('/','_').Replace('\', '_') + '_' + (Get-Date -Format 'yyyyMMddHHmm') + '_logins.sql'
I had a backslash error when using a named instance.

@MikeFal
Copy link
Owner

MikeFal commented Mar 1, 2016

Awwwww.....no pull request?

@rudi-bruchez
Copy link
Author

Sorry, I'm too old for that, I don't know how that works... Let me put my glasses on and see if I can figure it out

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