Good morning experts, I have a rather bespoke query that I hope you can assist me with.
My client currently does not delete user accounts related to leavers and their Active Directory is populated with over 1,000 disabled accounts for old users that have since left the organisation. They have decided that they want to start deleting the accounts when the user(s) leave the organisation however they are concerned that they may, at some point in the future, need to know various snippets of information about one or more deleted users (stuff like email address, manager, profile, home drive etc.).
They have set their mind on having this store in a LDAP/LDS Instance...so this is where your collective brains may be able to help.
I need to create a powershell script that will extract deleted USERS from AD, dump them to a file and the file is then used to populate the LDS instance with this information.
Any advice, comments etc. are most welcome.