What you described above is a very achievable task. What’s your question?
What exactly do you need help with?
The cmdlets you might use to accomplish this task could be
Please always read the complete help topic of the cmdlets including the examples to learn how to use them.
If you already have some code you just got stuck with you’re very welcome to share this code here along with the error messages if there are some and an explanation what’s not working as expected and we will be happy to try to help you.