Microsoft
Software
Hardware
Network
Question : Adding Contact with ActiveRoles PowerShell
I'm trying to create mail enabled contacts from a csv file. I'd like to have the contact created with the givenName, sn, and mail attributes. Below is a sample of the csv file.
last,first,mail
Bob,Smith,
[email protected]
I plan on using the following:
$OU = "<DN Path>"
$Users = "file.csv"
New-QADObject -Type "Contact"
I think I need some sort of if statement to pull in the information from the rows but I'm having problems putting it all together.
Any help would be appreciated.
Answer : Adding Contact with ActiveRoles PowerShell
Yes. You could also add the Exchange snapins into the ActiveRoles console and do all the work from there. To get a list of available snapins, use get-pssnapin -registered
to add them, use add-pssnapin <snapin name>
Random Solutions
Server Error in '/' Application-Migrated from VS2008 - VS2010.
Access - Check what users are on the db
Java: memory consumption from 32 bit cpu to 64 bit cpu
mailto hyperlink with multiple links on multiple lines
building a new server machine that has server 2003. need help
Block messages sent to recipients not listed in the Global Address List
Cisco 79xx Message Button
Issue with Exchange 2010 GAL
How I can simplify a series of nested case statements in a MS SQL 2005 query
Trouble getting Outlook 2007 to connect to Exchange 2010