Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

DumpDelegatesandForwardingRules doesn't have target of Get-InboxRule in output #41

Open
veritablyclean opened this issue Dec 12, 2018 · 2 comments

Comments

@veritablyclean
Copy link

Just needed to add MailboxOwnerID to the select on line 22. Without that I felt I didn't have all the info needed.

PsychoData added a commit to PsychoData/O365-InvestigationTooling that referenced this issue Dec 16, 2018
Reworked this script to use Get-Mailbox instead of Get-MSOLUser, since if you have an AD synced Tenant, this will probably have a good number of MSOLUsers that aren't tied to Mailboxes.

Moved big Get-Mailbox pull to top and reused the data
Added Mailbox param to UPN (to save having to re-lookup whose mailbox it's connected to)

Also, fixes
 (OfficeDev#41)
PsychoData added a commit to PsychoData/O365-InvestigationTooling that referenced this issue Dec 16, 2018
Reworked this script to use Get-Mailbox instead of Get-MSOLUser, since if you have an AD synced Tenant, this will probably have a good number of MSOLUsers that aren't tied to Mailboxes.

Moved big Get-Mailbox pull to top and reused the data
Added Mailbox param to UPN (to save having to re-lookup whose mailbox it's connected to)

Also, fixes
 (OfficeDev#41)
PsychoData added a commit to PsychoData/O365-InvestigationTooling that referenced this issue Dec 17, 2018
Reworked this script to use Get-Mailbox instead of Get-MSOLUser, since if you have an AD synced Tenant, this will probably have a good number of MSOLUsers that aren't tied to Mailboxes.

Moved big Get-Mailbox pull to top and reused the data
Added Mailbox param to UPN (to save having to re-lookup whose mailbox it's connected to)

Also, fixes
 (OfficeDev#41)
PsychoData added a commit to PsychoData/O365-InvestigationTooling that referenced this issue Dec 17, 2018
Reworked this script to use Get-Mailbox instead of Get-MSOLUser, since if you have an AD synced Tenant, this will probably have a good number of MSOLUsers that aren't tied to Mailboxes.

Moved big Get-Mailbox pull to top and reused the data
Added Mailbox param to UPN (to save having to re-lookup whose mailbox it's connected to)

Also, fixes
 (OfficeDev#41)
@PsychoData
Copy link

#42 should provide a fix for this, also I suck at Git, sorry about the spam above.

@PsychoData
Copy link

@veritablyclean Yeah, when I was tooling around with this myself lookin at dumping them, I threw myself off cause the first few rules I pulled were named for the inbox they were in, but then the rest weren't and then I had to add it in.

the other thing that got really confusing is that a lot of the rules I would see in, say, the psherman mailbox would be named for the mailbox they were dealing with, say psherman.

so without checking, you might assume the psherman rule is in the psherman mailbox, but it's misleading

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants