Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

How to Parse email address

$
0
0

Hello,

I have a Powershell Script that reads information from a SharePoint List and sends out emails to the Assigned To (people picker).

The issue I am having is the email address is returned from the list as 1;#APerson@someemail.com

I understand that 1;# is the UserID. How do I extract "APerson@someemail.com" from the address or how to I send the email with this information using Powershell?

I am learning Powershell so any help is much appreciated.

Thanks.

LoEnglish


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>