1
vote
0answers
256 views

Cannot get the full name or e-mail address of user

I have used following script to add a domain group to a site [Microsoft.SharePoint.SPUser]$spuser = $web.EnsureUser("WM\My Group name") Set-SPUser -Identity $spuser -Web "http://myweb" ...