vmich
asked on
Command needed to run to show all users that are not showing with the “get-mailbox” command
We have user accounts with mailboxes that are not showing in “Get-Mailbox command but they do show in “Get-ADUser and the users do have local mailboxes
So I need a way to find all users that are not showing with the “get-mailbox” command
So if someone could show me what command I need to run to obtain this info.
Thanks
So I need a way to find all users that are not showing with the “get-mailbox” command
So if someone could show me what command I need to run to obtain this info.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Also as I mentioned up top, there are users that have local mailboxes that do not show up for some reason when we run the get-mailbox command, but they do show up when we run the get-aduser.
So I just need a good way to find all of these users that don't show up with the get-mailbox command.
Anything that I can run to show these?
Hope this make better sense and sorry if at first I was not clear on what I needed.
Thanks
So I just need a good way to find all of these users that don't show up with the get-mailbox command.
Anything that I can run to show these?
Hope this make better sense and sorry if at first I was not clear on what I needed.
Thanks
Set-AdServerSettings -ViewEntireForest $True
Shows all the mailboxes in your exchange environment, use this to start with, so in your exchange shell. Copy and paste the above command and then run your get-mailbox command.
What exchange are you running?
Shows all the mailboxes in your exchange environment, use this to start with, so in your exchange shell. Copy and paste the above command and then run your get-mailbox command.
What exchange are you running?
ASKER
exchange 2016
Is there a special command to run with the get-mailbox command meaning what switches do I need.
Is there a special command to run with the get-mailbox command meaning what switches do I need.
There isn't, so please read this carefully
Run
Set-AdServerSettings -ViewEntireForest $True
then
get-mailbox
Then come back and tell me if that got the mailboxes you were expecting.
Run
Set-AdServerSettings -ViewEntireForest $True
then
get-mailbox
Then come back and tell me if that got the mailboxes you were expecting.
ASKER
Alex we have more than 1000 users. What do I need to add to this for unlimited users to be seen?
Have you done what I asked or not? I.E
Also
will help too
Set-AdServerSettings -ViewEntireForest $True
Also
Get-Mailbox -ResultSize unlimited
will help too
ASKER