Welcome to WiseSoft.co.uk!
Register
About
Contact
Donate
Home
Scripts
Articles
Software
Forum
Links
Active Directory Schema Guide
Submit a Script
All Scripts
Active Directory
Computer
Database
Event Logs
Exchange/Email
File System
General
Printer
SQL Server
Account Page
Address Page
COMPlus Page
DialIn Page
Environment Page
General Page
MemberOf Page
Organization Page
Profile Page
RemoteControl Page
Sessions Page
Telephones Page
TerminalServices Page
Batch File
HTA
KiXtart
PowerShell
T-SQL
VB
VBScript
Computer Accounts
Domains, Forests & Trusts
Groups
Monitoring & Replication
Organizational Units
Schema Information
Search
Sites and Subnets
User Accounts
PowerShell
VBScript
VBScript
PowerShell
VBScript
VBScript
VBScript
VBScript
VBScript
PowerShell
VBScript
VBScript
PowerShell
VBScript
HTA
KiXtart
PowerShell
VB
VBScript
VBScript
KiXtart
PowerShell
VBScript
PowerShell
VBScript
Batch File
KiXtart
PowerShell
VBScript
HTA
VB
VBScript
HTA
KiXtart
PowerShell
VBScript
HTA
PowerShell
T-SQL
VBScript
All Articles
Active Directory
Miscellaneous
Programming
Scripting
Security
SQL Server
WiseSoft
Submit Article
All Software
TSQL DDL Code History Tool
Account Management Spreadsheet
Bulk AD Users
Password Control
Script Builder
NTFSFix
TSQL DDL Code History Tool
Bulk AD Users
Password Control
Script Builder
Account Management Spreadsheet
NTFSFix
Scripting
Guestbook
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Login
User Name:
Password:
Remember me next time
Forgot Password?
Login using OpenID:
Create free account
Exclusive access for registered users
Registered Users:
20870
Click here to find out how you can help support wisesoft.co.uk!
home
recent topics
recent posts
search
faq
AspNetForum v.5.2.7.0
WiseSoft :: Forum
:: Forum
user:
psw:
remember me
|
lost password
|
register
Home
»
Password Control
-
Password Control - General
»
Bulk Modify - UPDATE not REPLACE attribute
|
2/16/2010 8:49:22 AM
permalink
joanne.finger
Posts 2
I need to add a word to the Company field of some user objects. I have the users in a CSV. Problem is it replaces anything already in the Company field, as opposed to adding to it. Is it possible to update but not replace? So even if the company name is there, I want the new word to appear before it.
2/16/2010 10:35:08 AM
permalink
admin
Posts 331
Hi,
There are a couple of ways to do this depending on your exact requirements. I'd suggest using Bulk AD Users over Password Control for bulk updates.
The first step is to add the company attribute to the grid if it isn't already there - Use the Properties to load dialog.
The next thing you need to do is to select the user accounts you want to modify in Bulk AD Users. There might be a few ways for you to identify the users - if no other method exists, you can use the "From List" method. You should be able to copy/paste the user accounts from the CSV using Excel - The application expects 1 username per line.
You should now have the user accounts you want to modify in the grid - the next step is to decide on the method you want to use to perform the update. If you are prefixing the same value for all user accounts, you can do it in the Bulk Modify dialog. e.g.
myprefix<attr>company</attr>
If the prefix value is different for each user, you will need to use a different method - You could extract the data to CSV, edit the data as required and update from the new CSV file. You could also use the "Edit In Excel" feature to perform the update directly in MS Excel. I don't know how familiar you are with MS Excel, but it's quite a powerful tool for manipulating data - You could use a lookup function to match the correct values to each user account.
Hope this helps,
David
2/16/2010 12:28:07 PM
permalink
joanne.finger
Posts 2
Thanks for the quick response David. Sounds good, will give this a go.
pages:
1
|
Home
»
Password Control
-
Password Control - General
»
Bulk Modify - UPDATE not REPLACE attribute