We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
powershell -NoProfile
Produced on dbatools 0.9.519
0.9.519
get-dbalogin -ServerInstance $prod | where-object {-not $_.isDisabled} | select-object -first 1 | ForEach-Object {Export-DbaLogin -login $_ -path (join-path -path e:\tmp\2016upgrade\Logins -childpath "$($_.name.replace('\','$')).sql") -SqlInstance $prod -verbose}
File output listing login details, database permissions, roles, etc. for the first enabled user on the instance to a file named using the login name
Resulting file contains only GO
GO
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. If you would like this issue to remain open:
Sorry, something went wrong.
ClaudioESSilva
Successfully merging a pull request may close this issue.
Before submitting a bug report:
powershell -NoProfile
)Steps to Reproduce
Produced on dbatools
0.9.519
Expected Behavior
File output listing login details, database permissions, roles, etc. for the first enabled user on the instance to a file named using the login name
Actual Behavior
Resulting file contains only
GO
Environmental data
The text was updated successfully, but these errors were encountered: