Active Directory

Posted on 2012-03-23
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 167 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 166 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 167 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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Let's recap what we learned from yesterday's Skyport Systems webinar.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Suggested Courses

635 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