Mass Creation of mailboxes with excel (indirect)

Dear experts,

pls see the excel file attached. I'm building from data in worksheet "cas" in worksheet "admin-ps" the dataset for only one user. The powershell code will created below in "admin-ps". I'm using excel indirect to switch between the lines in worksheet CAS.
What i like is to build for all user are in CAS the powershell code without building a complete dataset and switch to every user.
Any idea how it could solve the best way?

Appreciate for your help
dataexample.xlsx
LVL 2
Mandy_Asked:
Who is Participating?
 
QlemoConnect With a Mentor Batchelor, Developer and EE Topic AdvisorCommented:
Am I'm correct that you don't want to touch CAS sheet?
The simplest way is to transform your admin-ps lines into columns. I've done that in the modified XLSX file.
dataexample.xlsx
0
 
Mandy_Author Commented:
I would like to express my sincere appreciation of  and heartfelt thanks to qlemo. Great work!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.