Jump to content

Recommended Posts

Posted

Hi All,

 

i have been given the task of making a list of contacts availble to all users (not using Public folders)

 

so i have made a script up in powershell that would import the users from a csv see bellow for script

 

import-csv C:\Newmailcontacts.csv | ForEach-Object{
new-mailcontact -Names $_.Name
-alias $_.Alias
-FirstName $_.firstName
-LastName $_.LastName
-Title $_.Title
-Company $_.Company
-Phone $_.Phone
-Externalemailaddress $_.E-mail
}

 

now when i run the code ti does nothing all the Tags are correct and same with the fields from the csv

 

Bushby

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...