Hello,
We needed to set the city for our users and noticed that the -l can be used as a alias for -city.
For example if you run
get-aduser User.Name -Properties l,logonworkstations
The city will be displayed.
So last week changed city for all our users using the -l alias, shortly after we had a call where we found users users couldn't log on.
After checking their AD account we noticed their LogonWorkStations had been set with their city.
We quickly reversed our change but noticed that if you use:
get-aduser User.Name | set-aduser -l "NEW SITE"
Then "LogonWorkstations" will be set with "New Site"
What on earth is happening? Is -l different for Ge-Aduser and set-Aduser??
Is this just our domain?