Version 2.1.0 der dbatools – Ein Update mit Hindernissen
Andreas Jordan
Data Management
Das PowerShell-Modul dbatools wird seit vielen Jahren von Administratoren auf der ganzen Welt zur Installation und Verwaltung von SQL Server Instanzen genutzt. Schaut man auf die Versionshistorie in der PowerShell Gallery, so gab es in diesem Jahr bereits zwei Versionssprünge. Am 28.04.2023 erschien die Version 2.0.0 als Nachfolger der Version 1.1....
Weiterlesen
PowerShell Skripte als SYSTEM ausführen
Andreas Jordan
PowerShell
Es gibt immer wieder Situationen, in denen PowerShell-Skripte als lokales System (NT AUTHORITY\SYSTEM) ausgeführt werden müssen. Bei einem unserer Kunden wollten wir auf diese Weise ein Kennwort von Export-Clixml mit dem Schlüssel des lokalen Systems verschlüsselt speichern lassen, damit ein anderer Prozess dieses mit Import-Clixml wieder entschlüs...
Weiterlesen
Execute PowerShell scripts as SYSTEM
Andreas Jordan
PowerShell
We frequently experience situations where PowerShell scripts need to be run as local system (NT AUTHORITY\SYSTEM). For one of our customers, we wanted to use this method to store a password encrypted by Export-Clixml with the key of the local system, so that another process can decrypt and use it again with Import-Clixml. What are the options? Seve...
Weiterlesen
I don't want to know the password – Using group Managed Service Accounts for Microsoft SQL Server
Andreas Jordan
Microsoft SQL Server
A few days ago, I changed the service account of the SQL Server instances in my lab environment for Always On Availability Groups and now use a group Managed Service Account (gMSA). In the following, I present the necessary adjustments. Which service account do we recommend? As a service account for Microsoft SQL Server, we now generally recom...
Weiterlesen
Ich will das Kennwort gar nicht wissen – Nutzung von gruppenverwalteten Dienstkonten für Microsoft SQL Server
Andreas Jordan
Microsoft SQL Server
Vor einigen Tagen habe ich in meiner Laborumgebung für Always-On-Verfügbarkeitsgruppen (Availability Groups) das Dienstkonto der SQL-Server-Instanzen ausgetauscht und verwende jetzt ein gruppenverwaltetes Dienstkonto (group-managed service account, gMSA). Die notwendigen Anpassungen stelle ich im Folgenden vor. Welches Dienstkonto empfehlen wir? Al...
Weiterlesen
SQL Server is no longer allowed to phone home – uninstalling CEIP/TELEMETRY service
Andreas Jordan
News
Which services have been created during the installation? After installing a SQL Server instance, I typically look at the installed services with the customer or training participants. During installation, the “SQL Server Configuration Manager” is set up and linked in the Windows Start menu. The advantage of this interface is that only the services...
Weiterlesen