Shouldn't your underscores be before your dots?

And your command says PSA, not PST, thought I assume that's a typo.

On Thu, Feb 19, 2015 at 5:48 PM, S Powell <powe...@gmail.com> wrote:

> this Set-DistributionGroup abe011-4...@school.edu -EmailAddresses
> SMTP:abe011-4...@school.edu -Domaincontroller DC.01
>
> runs great. I change the name and it works every time.
> I throw those into a CSV and get a Cannot  convert value $._PST to
> “Microsoft.Exchange.Data.SmtpAddress”.
>
> this is what I was trying:
> import-CSV fix.csv |foreach {Set-DistributionGroup $._DSG
>  -PrimarySMTPAddress $._PSA -domaincontroller DC.01
>
>
> thoughts?
>
> ----------------
> Goats are like mushrooms, if you shoot a duck, I'm scared of toasters.
>
> ================================================
> Did you know you can also post and find answers on PowerShell in the
> forums?
> http://www.myitforum.com/forums/default.asp?catApp=1


================================================
Did you know you can also post and find answers on PowerShell in the forums?
http://www.myitforum.com/forums/default.asp?catApp=1

Reply via email to