Yes.. $mailbox was not defined in the current script, so that values was picked possibly from a previous code which ran on the PS console. I changes it to get values form PS pipeline to fix it..
jyoung127
ASKER
Hey follow up is there a way to get this exported out to a file? csv
i was so close.