Does anyone know if I can run a PowerShell script to (maybe) create a 'temporary' SharePoint list, then use that list to create a new list? I've got script working to complete erase and regenerate a user list pulling from Active Directory. That part is fine. But I want to be able to populate the user's Manager Phone and Email addresses, as well. So, the script would need to look at the list, find user1's manager name, search the list for the manager's information, grab the phone and email, then finish populating user1 item. I may be overthinking it. If anyone knows, please let me know. Thanks!
Example
Thank you, in advance!
~ lahddah
Example
HTML:
[ol]
[li]user1Name[/li]
[li]user1Phone[/li]
[li]user1Email[/li]
[li]user1ManagerName[/li]
[li]user1ManagerPhone - (pulling from Manager's info)[/li]
[li]user1ManagerEmail - (pulling from Manager's info)[/li]
[/ol]
Thank you, in advance!
~ lahddah