7,923 questions
You will need to use the full name:
Get-Mailbox -Database "Mailbox Database 0181915290" -Archive
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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
You will need to use the full name:
Get-Mailbox -Database "Mailbox Database 0181915290" -Archive
Thanks much