none
ExchangeManagementShell (Need a way to do it for 2010 and 2013) - How to get DatabaseCopy's EdbFilePath and LogFolderPath...? RRS feed

  • Question

  • Hi,

    How to get DatabaseCopy's EdbFilePath and LogFolderPath information?

    Please see from below i can able to get the information for MailboxDatabase.
    But not for MailboxDatabaseCopies?

    [PS] C:\Windows\system32>$md | select name, edbfilepath, LogFolderPath,
    logfileprefix

    Name                          EdbFilePath                  
    LogFolderPath                 LogFilePrefix
    ----                         
    -----------                   -------------                
    -------------
    Mailbox Database 1653755753   C:\Program Files\Microsoft...
    C:\Program Files\Microsoft... E00


    [PS]
    C:\Windows\system32>$md.gettype().fullname
    Microsoft.Exchange.Data.Directory.SystemConfiguration.MailboxDatabase
    [PS]
    C:\Windows\system32>$mdc = $md.DatabaseCopies[0]
    [PS]
    C:\Windows\system32>$mdc | select name, edbfilepath, LogFolderPath,
    logfileprefix

    name                          edbfilepath                  
    LogFolderPath                 logfileprefix
    ----                         
    -----------                   -------------                 -------------

    [PS]
    C:\Windows\system32>$mdc.gettype().fullname
    Microsoft.Exchange.Data.Directory.SystemConfiguration.DatabaseCopy

    [PS] C:\Windows\system32>$mdc


    DatabaseName         : Mailbox Database
    1653755753
    HostServerName       : NAG1-HRV-VM-R2
    ActivationPreference :
    1
    ParentObjectClass    : msExchPrivateMDB
    ReplayLagTime        :
    00:00:00
    TruncationLagTime    : 00:00:00
    AdminDisplayName    
    :
    ExchangeVersion      : 0.10 (14.0.100.0)
    DistinguishedName    :
    CN=NAG1-HRV-VM-R2,CN=Mailbox Database 1653755753,CN=Databases,CN=Exchange
    Administrative Group (
                          
    FYDIBOHF23SPDLT),CN=Administrative Groups,CN=NagExchange2010,CN=Microsoft
    Exchange,CN=Services,C
                          
    N=Configuration,DC=nagdc,DC=esi,DC=emc,DC=com
    Identity             : Mailbox
    Database 1653755753\NAG1-HRV-VM-R2
    Guid                 :
    175a24db-426c-47a1-8ad6-ff5ae6b56aca
    ObjectCategory       :
    nagdc.esi.emc.com/Configuration/Schema/ms-Exch-MDB-Copy
    ObjectClass         
    : {top, msExchMDBCopy}
    WhenChanged          : 1/7/2013 7:28:45
    PM
    WhenCreated          : 1/7/2013 7:28:45 PM
    WhenChangedUTC       :
    1/8/2013 3:28:45 AM
    WhenCreatedUTC       : 1/8/2013 3:28:45
    AM
    OrganizationId       :
    OriginatingServer    :
    NAG3-HRV-VM-R2.nagdc.esi.emc.com
    IsValid              : True

    Regards,

    Dreamer


    • Edited by DreamerNN Thursday, January 24, 2013 8:56 PM
    Thursday, January 24, 2013 8:50 PM