Maintain control of your Microsoft 365 data
Post Reply
deniz.oezdemir
Novice
Posts: 4
Liked: never
Joined: Feb 20, 2026 8:11 pm
Contact:

Selecting Inbox Folder Regardless of Mailbox Language in VEX

Post by deniz.oezdemir »

Hello,

I need to export the inbox for all users in an organization. However, not every user is using English as their mailbox language.
For example:
  • For English mailboxes, this works:

    Code: Select all

     Get-VexFolder -Mailbox $vex -Name "Inbox"
  • But for German mailboxes, I need to use:

    Code: Select all

      Get-VexFolder -Mailbox $vex -Name "Posteingang"
Since there are users with different mailbox languages (not just English and German), the folder name varies depending on the language.
How can I reliably select the Inbox folder regardless of the mailbox language?

Here is the relevant part of my script:

Code: Select all

$vex = Get-VEXMailbox -Database $database | Where-Object Email -eq "$email"
Get-VexFolder -Mailbox $vex -Name "Inbox"
Export-VEXItem -Folder $item -To $target
I’m looking for a way to target the Inbox folder independent of its localized name.
Polina
Veeam Software
Posts: 3903
Liked: 980 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Selecting Inbox Folder Regardless of Mailbox Language in VEX

Post by Polina »

Hi Deniz,

There's no detection by language in the product, and from the VB365 standpoint, Inbox is just a folder name which should be specified like any other custom folder name. With that, there's no reliable way to automate the selection with the built-in capabilities.

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests