Hello,
So with that script (#2) I just add the following:
$customColumnNames = @{
"Termination Date" = "accountExpires";
When I run with this I get an error 'parameter is incorrect'
I currently have this at the top:
$csvFilePath = "c:\temp\ITUserreport-test.csv" # TODO: modify me
$userIdColumn = "employee ID" # TODO: modify me
$userIdProperty = "employeeID" # TODO: modify me
$accountPasswordColumn = "AccountPassword" # TODO: modify me
$customColumnNames = @{
"Termination Date" = "accountExpires";
} # TODO: modify me
$aDObjectProperties = @("Manager") # TODO: modify me
$skipEmptyColumnNames = @("Last Name","Office Location (Office Location Description)","Line Manager","Position Position Title (Label)","Department (Label)","Business Unit (Label)","Users Sys Id","First Name","Preferred Name","Title (Label)","Email","Division (Label)","Job Classification (Label)","Fixed Term End Date","Start Date","Original Start Date","Continuous Service Start Date","Line Manager (Last Name)","Line Manager (First Name)") # TODO: modify me