Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

6
For the perfectionists
Post Body

Ok. Apologies but not in front of a computer right now.

I have been working on a script for the last week to process a csv where some people exist already in AD and some don't.

The script all works fine. New users are created with all fields including the name field in AD OU to show :

Firstname Lastname IDNumber

This is also their display name such as:

Bob Jones [0001743]

ID number is their login name and pulled from. Csv

The issue is existing users

It does everything including displayname as above, but doesn't update what AD shows as "Name" when viewing the OU. I'd imagine this is the CN and have been messing with rename-adobject but I need it to do this as part of processing one user at a time, so ideally at the end of the line where I am doing all of my set-aduser variables.

This is cosmetic really but if I can fix that bit, I can stop thinking about it

Thanks in advance

Author
Account Strength
80%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
294
Link Karma
233
Comment Karma
61
Profile updated: 3 days ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago