Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Active Directory

Posted on 2012-03-23
Medium Priority
Last Modified: 2012-04-12

I have a problem, I need to modify some fields depending on the personnel office

I want basically the following
Dsquery user “DC=comerc,DC=local” | dsget user –office (e queria colocar para filtrar o conteúdo do campo Office)

Question by:ervolino
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 33

Assisted Solution

Exchange_Geek earned 501 total points
ID: 37760343
Sorry couldn't quite understand

e queria colocar para filtrar o conteúdo do campo Office

LVL 26

Assisted Solution

by:Leon Fester
Leon Fester earned 498 total points
ID: 37760415
You've posted the query you're using, but not the action that you want to execute afterwards.

Post the full question...

P.S. dsmod is the command to update ad attributes from the command line.

Accepted Solution

mbm2708 earned 501 total points
ID: 37775154
hi man

you can do it on the active directory management

create a new saved queries and there you can setup many another query and it is the easy way to set

thank you

Author Closing Comment

ID: 37840310

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Suggested Courses

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question