This topic contains 5 replies, has 3 voices, and was last updated by
November 16, 2018 at 2:57 pm #125169ParticipantPoints: 14Rank: Member
I'm new to the forum, and just started scripting with powershell 🙂
Right now i'm creating a script that is showing all kinds of info about a user's pc.
But i'm struggeling to develop \ find info about the following feature: Is it Possible to read out all MailAccounts on user account? I know this possible in the Exchange environment, but haven't seen this option within a local windows machine.
Do any of you know if there's a build in command that can do this? Or if someone already made a script that does this?
Help is much appreciated!
Thanks in advance 🙂
November 16, 2018 at 3:00 pm #125172ModeratorPoints: 174Rank: Participant
You can use ActiveDirectory cmdlets.
Get-ADUser smith1234 -Properties proxyaddresses | Select -ExpandProperty proxyAddresses
November 16, 2018 at 3:37 pm #125177ParticipantPoints: 261Rank: Contributor
I'd think it depends pretty much on the mail program the users use. If it is Thunderbird for example you would have to query the Thunderbird configuration.
November 16, 2018 at 7:50 pm #125267ParticipantPoints: 14Rank: Member
Didn't expect such an quick reply!
We use Office Outlook as our mail program.
I also tried the command Wes provided before, but for some reason I won't get any output. Even tho i'm using it on a Windows Server (Which has AD DS installed and configured).
November 16, 2018 at 10:41 pm #125292ParticipantPoints: 261Rank: Contributor
I don't have personal experiences with that specific topic but a short search provided these hits:
November 17, 2018 at 6:52 pm #125396ModeratorPoints: 174Rank: Participant
I assume you replaced with a known samAccountName?
You must be logged in to reply to this topic.