Can't find databse error in Exchange 2016

Reynard Williams (07964647) 21 Reputation points
2022-09-09T15:38:11.037+00:00

Trying to find mailbox information in comlet, but keep getting can't find data base error

[PS] C:\Windows\system32>Get-MailboxDatabase  
  
Name                           Server          Recovery        ReplicationType  
----                           ------          --------        ---------------  
Mailbox Database 0181915290    SIVERMAIL       False           None  
  
  
[PS] C:\Windows\system32>Get-Mailbox -Database 0181915290 -Archive  
Couldn't find database "0181915290". Make sure you have typed it correctly.  
    + CategoryInfo          : NotSpecified: (:) [Get-Mailbox], ManagementObjectNotFoundException  
    + FullyQualifiedErrorId : [Server=SIVERMAIL,RequestId=d8e96c8b-bd5f-4522-88e3-b1c13c069c41,TimeStamp=9/9/2022 3:17  
   :40 PM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] E3DE7D95,Microsoft.Exchange.Management.Recipien  
  tTasks.GetMailbox  
    + PSComputerName        : sivermail.siverlaw.local  
Exchange | Exchange Server | Management
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 157.7K Reputation points MVP Volunteer Moderator
    2022-09-09T15:49:06.09+00:00

    You will need to use the full name:

    Get-Mailbox -Database "Mailbox Database 0181915290" -Archive  
    
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Reynard Williams (07964647) 21 Reputation points
    2022-09-09T19:58:25.573+00:00

    Thanks much

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.