Hi Guys,
I am trying to import this excel from HR . Than i want to import the upn from excel and compare this to AD and add AD title and department collumns next to the original excel to check this in v-lookup.
This is the excel file: Excelfile
Now this is what i have got so far.
Now it seems that it doesnt iterate through all users. Can someone point me in the right direction?</p>
Many thanks!!!
edit: i have installed the importexcel module
I’m not sure what module Import-Excel is coming from or how it works, but typically it’s recommended to use a CSV as it can be directly imported to a PSObject. Excel uses an old COM object and it’s quite a bit of extra work to code for rather than just using a csv. Here is an example with calculated expressions to rename columns and also add the columns from the csv so that you can do direct