[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Ps

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 7
Thread images: 1

File: image.jpg (23KB, 444x332px) Image search: [Google]
image.jpg
23KB, 444x332px
Hey /g/entoomen,

I'm needing some help.
I need to change a bulk lot of ADObjects (type contact) but can't seem to do it.
I need to modify the attributes (mail, targetaddress, proxyaddresses), exchange isn't on premise and I don't have access to the exchange environment (fucking management have chosen to outsource due to political pressure).

Set-AdObject can only change certain properties and I can't use set-contact because no exchange.

This has me stumped. Help?
>>
I guess g has filled with "gaymers" who only know how to follow memes these days. Oh well
>>
>>57462358

ADmodify.net might do it, other than that there's probably a Powershell script somewhere on the net from someone who had a similar problem.

This might help, although it might be a few years out of date at this point.
>>
>>57462716
Legend, I think this should do the trick.

Couldn't find others with the same issue, folks over on stack overflow couldn't figure it out as well
>>
>>57462358
I think Set-ADObject can change hidden attributes but you have to explicitly mention them.
That or you could also try Dell's Quest something PowerShell AD cmdlets, which are more powerful.
>>
>>57462358
If Powershell won't solve your problem, always remember you can embed C# code on a PS file.
>>
>>57465119
Set-ad object can't change hidden attributes.

Managed to use as modify to do it all.
However I need to learn c# so I can write my own ldap queries I think!
Thread posts: 7
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.