Posts Tagged ‘export-csv’
Create lists with Powershell
Sometimes I want to write some elements to a file, but not all elements – so i cant just use export-csv and create a file of the output..
There is a couple of ways to do this, you could create a export-csv function which can append to a file – but the easiest way I’ve found, is to create a list;
Here is one way to export all users, which have an employeeNumber set in the userobject..
Categories: Misc, Powershell
Tags: append, export-csv, list, Powershell