PowerShell icon indicating copy to clipboard operation
PowerShell copied to clipboard

Copy-SQLLogins output file for named instance

Open rudi-bruchez opened this issue 10 years ago • 2 comments

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.

rudi-bruchez avatar Mar 01 '16 11:03 rudi-bruchez

Awwwww.....no pull request?

MikeFal avatar Mar 01 '16 14:03 MikeFal

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

rudi-bruchez avatar Mar 01 '16 20:03 rudi-bruchez