I'm working on a script to automatically create AD accounts. The script downloads list of users from SharePonit and searches for new one and creates in AD. I have a few questions:
- How can I list users from SP in PowerShell?
- how to retrieve value data from SP e.g. Name, Surname
I must admit that I would like to start by listing the users.
The Get-SPUser
command does not work. I found a solution to this problem, but it did not help. In PS I'm a beginner, in programming I have experience.