Powershell
Datenbank - Tools
offline installs of dbatools – dbatools
Get-SqlLogin -ServerInstance $serverName
#Get-SqlLogin -ServerInstance "MyServerInstance" -LoginName "Login01" | Remove-SqlLogin
#Add-SqlLogin -ServerInstance "MyServerInstance" -LoginName "MyLogin" -LoginType "SqlLogin" -DefaultDatabase "OtherDatabase"
No Comments