|
I need to find out how many AD users in a certain OU have extensionAttribute7 populated, and export this to a .csv file. I'm sure it'll start with Get-ADuser, but as a newb to this I'm having trouble fleshing out the rest. Can anyone help? EDIT: The following gave me what I wanted, except from all of AD. Now trying to figure out how to get from just one OU code:
TITTIEKISSER69 fucked around with this message at 19:19 on Jan 22, 2019 |
# ¿ Jan 22, 2019 19:06 |
|
|
# ¿ Apr 29, 2024 01:44 |
|
Thanks, I ended up doing it like this:code:
TITTIEKISSER69 fucked around with this message at 19:32 on Jan 22, 2019 |
# ¿ Jan 22, 2019 19:30 |
|
Tried the full command and got "Missing an argument for parameter 'Filter'"
|
# ¿ Jan 22, 2019 19:42 |
|
Yeah, I tried removing one then the other but still got errors.
|
# ¿ Jan 22, 2019 19:48 |
|
code:
|
# ¿ Jan 22, 2019 19:54 |
|
That was it, I had to change it to "OU=SubOU,OU=TopOU,DC=etc..." Thanks!
|
# ¿ Jan 22, 2019 20:13 |
|
Thanks all!
|
# ¿ Jan 22, 2019 20:57 |
|
I need to figure out whose mailboxes are being forwarded to OldGuy, and instead forward them all to NewGuy. On-prem Exchange 2013. Where do I begin?
|
# ¿ Jun 19, 2019 15:59 |
|
I have 50 security groups that I need to add 2 users to the Delivery Management list so they can send to all of them. They're all in the format companyname.office.cityname, is it possible to add user1@company.com and user2@company.com to the allowed senders for companyname.office.* ?
|
# ¿ May 27, 2020 16:24 |
|
Submarine Sandpaper posted:if I"m reading right: I'm thinking it would be more like the example linked here: https://community.spiceworks.com/topic/2232835-remove-member-from-delivery-management-with-exhange-powershell quote:Set-DistributionGroup "GROUP-NAME-HERE" -AcceptMessagesOnlyFromSendersOrMembers((Get-DistributionGroup "GROUP-NAME-HERE").AcceptMessagesOnlyFromSendersOrMembers + "IDENTITY-OF-USER-OR-GROUP-HERE") The trick is I'm hoping I can literally enter companyname.office.* so all of the groups can be updated at once.
|
# ¿ May 27, 2020 16:48 |
|
What command can I use to generate a list of mailboxes that one employee has Send As permission on?
|
# ¿ Jul 10, 2020 16:01 |
|
That's showing me FullAccess, but not Send As
|
# ¿ Jul 10, 2020 17:20 |
|
code:
|
# ¿ Jul 10, 2020 18:49 |
|
My bad, I should have stated that up front
|
# ¿ Jul 10, 2020 18:51 |
|
(Names changed) We've had a couple of promotions/title changes and now "Barney" is no longer the Manager (in AD) for a bunch of people, instead "Jenny" is. Is it possible to use PS to change all of these people's Manager field to Jenny? They're all in the same OU.
|
# ¿ Oct 23, 2020 17:58 |
|
Thank you both! For the initial question I took a second look and saw it was only ten users that needed updating, so I got those done by hand. However this will help with other OUs full of users that need updating. Question: how do I filter the users by their job title? Some titles report to Manager A while some report to Manager B, etc.
|
# ¿ Oct 23, 2020 18:25 |
|
I need to determine which mailboxes (of disabled users) are forwarding to oldmanager, and then either turn off the forwarding or change it to newmanager - which one of those it will be is TBD. This is on-prem Exchange 2016, how do I begin?
|
# ¿ Mar 2, 2021 17:29 |
|
I've got a user who is getting emails sent to dynamic distribution groups of which she is not a member - I exported the memberships of the three groups to CSV files and she isn't on any of them. My hunch is that a former employee is still on one of these lists and their mailbox is forwarding to her. What PS command can I run to see what mailboxes have forwarding enabled to her? EDIT: This is in Exchange Online TITTIEKISSER69 fucked around with this message at 23:28 on Jul 10, 2023 |
# ¿ Jul 10, 2023 23:26 |
|
Afraid not, as the sender put the dynamic distro groups' addresses in BCC.
|
# ¿ Jul 11, 2023 13:44 |
|
|
# ¿ Apr 29, 2024 01:44 |
|
TITTIEKISSER69 posted:I've got a user who is getting emails sent to dynamic distribution groups of which she is not a member - I exported the memberships of the three groups to CSV files and she isn't on any of them. Any ideas?
|
# ¿ Jul 17, 2023 17:57 |