Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Abfrage von SMO via PowerShell funktioniert nicht auf manchen Servern

Empfohlene Antworten

Hallo zusammen

Folgende Abfrage funktioniert auf manchen Servern für alle Datenbanken, auf manchen nicht für die Datenbank Model und alle Anwendungsdatenbanken:

$SQLServer = New-Object ('Microsoft.SqlServer.Management.Smo.Server') $ServerName

Foreach($Database in $SQLServer.Databases)

{

$HTML += "<TR>

<TD>$($Database.Name)</TD>

<TD>$($Database.RecoveryModel)</TD>

<TD>$($Database.LastBackupDate)</TD>

<TD>$($Database.LastDifferentialBackupDate)</TD>

<TD>$($Database.LastLogBackupDate)</TD>

<TD>$($Database.DataSpaceUsage)</TD>

<TD>$($Database.IndexSpaceUsage)</TD>

<TD>$($Database.SpaceAvailable)</TD>

<TD>$($Database.Size)</TD>

</TR>"

"Funktioniert nicht" heisst: es kommen nur Nullen als Rückgabewert, das kann kaum sein, jedenfalls nicht auf soviel Servern tagelang.

Wo braucht ich welche Berechtigung?

Ciao

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.