Powershell Kommando zum Anzeigen des Staus einer Datenbank

Im Gegensatz zum Database Integrity Check mittels »eseutil« muss für eine Statusabfrage mit dem Powershellkommando »Get-MailboxDatabase DB1 -Status« die Datenbank nicht offline sein. Hier finden Sie eine Fülle an Informationen wie zB die Grenzwerte pro Postfach, den Datenbankpfad, die Datenbankgröße, die Größe des Whitespace, das Datum des letzten Backups und vieles mehr.:

[PS] C:\Windows\system32>Get-MailboxDatabase RED1 -Status

Name                           Server          Recovery        ReplicationType
----                           ------          --------        ---------------
RED1                           MTA-4      False           Remote


[PS] C:\Windows\system32>Get-MailboxDatabase RED1 -Status | FL AvailableNewMailboxSpace


AvailableNewMailboxSpace : 8.732 GB (9,376,038,912 bytes)



[PS] C:\Windows\system32>Get-MailboxDatabase RED1 -Status | FL


RunspaceId                                   : f22d4cba-5eb8-4617-827c-117d5aadb7ef
JournalRecipient                             :
MailboxRetention                             : 60.00:00:00
OfflineAddressBook                           :
OriginalDatabase                             :
PublicFolderDatabase                         :
ProhibitSendReceiveQuota                     : 29.3 GB (31,457,280,000 bytes)
ProhibitSendQuota                            : 28.32 GB (30,408,704,000 bytes)
RecoverableItemsQuota                        : 30 GB (32,212,254,720 bytes)
RecoverableItemsWarningQuota                 : 20 GB (21,474,836,480 bytes)
IndexEnabled                                 : True
IsExcludedFromProvisioning                   : False
IsSuspendedFromProvisioning                  : False
DumpsterStatistics                           :
DumpsterServersNotAvailable                  :
ReplicationType                              : Remote
AdministrativeGroup                          : Exchange Administrative Group (FYDIBOHF23SPDLT)
AllowFileRestore                             : False
BackgroundDatabaseMaintenance                : True
ReplayBackgroundDatabaseMaintenance          :
BackgroundDatabaseMaintenanceSerialization   :
BackgroundDatabaseMaintenanceDelay           :
ReplayBackgroundDatabaseMaintenanceDelay     :
MimimumBackgroundDatabaseMaintenanceInterval :
MaximumBackgroundDatabaseMaintenanceInterval :
BackupInProgress                             : False
DatabaseCreated                              : True
Description                                  :
EdbFilePath                                  : d:\RED1\red1.edb
ExchangeLegacyDN                             : /o=Mail-Enterprise/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=cas-
                                               array.Enterprise.local/cn=Microsoft Private MDB
DatabaseCopies                               : {RED1\MTA-4, RED1\MTA-3}
Servers                                      : {MTA-4, MTA-3}
ActivationPreference                         : {[MTA-4, 1], [MTA-3, 2]}
ReplayLagTimes                               : {[MTA-4, 00:00:00], [MTA-3, 00:00:00]}
TruncationLagTimes                           : {[MTA-4, 00:00:00], [MTA-3, 00:00:00]}
RpcClientAccessServer                        : cas-array.Enterprise.local
MountedOnServer                              : MTA-4.Enterprise.local
DeletedItemRetention                         : 30.00:00:00
SnapshotLastFullBackup                       : True
SnapshotLastIncrementalBackup                :
SnapshotLastDifferentialBackup               :
SnapshotLastCopyBackup                       :
LastFullBackup                               : 28.04.2019 22:01:23
LastIncrementalBackup                        :
LastDifferentialBackup                       :
LastCopyBackup                               :
DatabaseSize                                 : 138.5 GB (148,724,318,208 bytes)
AvailableNewMailboxSpace                     : 8.728 GB (9,371,910,144 bytes)
MaintenanceSchedule                          : {So.01:00-So.05:00, Mo.01:00-Mo.05:00, Di.01:00-Di.05:00, Mi.01:00-Mi.05:00, Do.01:00-Do.05:00, Fr.01:
                                               00-Fr.05:00, Sa.01:00-Sa.05:00}
MountAtStartup                               : True
Mounted                                      : True
Organization                                 : Mail-Enterprise
QuotaNotificationSchedule                    : {So.01:00-So.01:15, Mo.01:00-Mo.01:15, Di.01:00-Di.01:15, Mi.01:00-Mi.01:15, Do.01:00-Do.01:15, Fr.01:
                                               00-Fr.01:15, Sa.01:00-Sa.01:15}
Recovery                                     : False
RetainDeletedItemsUntilBackup                : True
Server                                       : MTA-4
MasterServerOrAvailabilityGroup              : DAG1
MasterType                                   : DatabaseAvailabilityGroup
ServerName                                   : MTA-4
IssueWarningQuota                            : 27.34 GB (29,360,128,000 bytes)
EventHistoryRetentionPeriod                  : 7.00:00:00
Name                                         : RED1
LogFolderPath                                : d:\RED1
TemporaryDataFolderPath                      :
CircularLoggingEnabled                       : False
LogFilePrefix                                : E03
LogFileSize                                  : 1024
LogBuffers                                   :
MaximumOpenTables                            :
MaximumTemporaryTables                       :
MaximumCursors                               :
MaximumSessions                              :
MaximumVersionStorePages                     :
PreferredVersionStorePages                   :
DatabaseExtensionSize                        :
LogCheckpointDepth                           :
ReplayCheckpointDepth                        :
CachedClosedTables                           :
CachePriority                                :
ReplayCachePriority                          :
MaximumPreReadPages                          :
MaximumReplayPreReadPages                    :
DataMoveReplicationConstraint                : SecondCopy
IsMailboxDatabase                            : True
IsPublicFolderDatabase                       : False
AdminDisplayName                             : RED1
ExchangeVersion                              : 0.10 (14.0.100.0)
DistinguishedName                            : CN=RED1,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Ma
                                               il-Enterprise,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Enterprise,DC=local
Identity                                     : RED1
Guid                                         : 3386dc43-a6ae-49f4-98a7-3a22383928f2
ObjectCategory                               : Enterprise.local/Configuration/Schema/ms-Exch-Private-MDB
ObjectClass                                  : {top, msExchMDB, msExchPrivateMDB}
WhenChanged                                  : 06.04.2019 15:45:47
WhenCreated                                  : 21.09.2016 12:39:42
WhenChangedUTC                               : 06.04.2019 13:45:47
WhenCreatedUTC                               : 21.09.2016 10:39:42
OrganizationId                               :
OriginatingServer                            : DC-3.Enterprise.local
IsValid                                      : True

Verwandte Artikel:
→ Exchange Datenbank Integrity Check

pronto 2019/04/29 13:16