Hi, i’m novice in powershell and I have a question. Is it possible to compare informations extracted of Active Directory for example with text file ?
Or is it possible to fill with this informations a text file ?
For example, if I do Get-Aduser, I will have a list of users. So is it possible to compare this list with a list contained in text file? Or fill with this informations a text file ?
To get you started you should read the help for the following cmdlets:
You should always read the help completely including the examples to learn how to use the cmdlets.
Regardless of that - what you asked for is a very common task and there are already a lot of examples out there. You may use your favorite search engine to look for examples for tasks like this. This way you don’t need to re-invent the wheel.
Some good sources of inspiration are the PowerShell-Gallery or StackOverflow.