How to export New-ADUser @Parameters to .csv file?

I have a script that creates new useraccounts based on input (read-host), than it will check whether the username already exist otherwise it counts with numbers, next the static variables are used for standardization than it will use the parameters to create a new useraccount aka New-ADUser @Parameters, next it will add the user to one specific membergroup, upn, tsprofilepath, folders, security rights for those folders, and the last step it will create the mailbox for user. Is it possible to use with my current method to export details such as username, firstname, lastname, e-mail, and some other information to .csv? This will be used to create TOPdesk accounts on mass. Thanks in advance <3

/u/Lee_Dailey can you help with this brother?

submitted by /u/WhatTheHomePod
[link] [comments]

Leave a Reply