I have working Sharepoint 2010 script that modifies e-mail for the web site user. The problem is - the script doesn't work on Sharepoint 2013. I am not able to modify its e-mail. I tried to modify it through Profile Synchronization with AD, but no luck. Then I got this script, but it seems that it works only on SP 2010. Any ideas? What I want to achieve is modified user's contact card, with modified e-mail, at Site Settings -> People and Groups -> web-site Members
cls
$web =Get-SPWeb http://sp2013/sites/wooly/
$list=$web.Lists["User Information List"]
$user =$list.GetItemById(##)
$user["SipAddress"]=""
$user["EMail"]="[email protected]"
$user.update()
$list.update()
$web.update()