Every time getting following error
Cannot find an overload for “PeopleManager” and the argument count: “1”.
at following line
$people = New-Object Microsoft.SharePoint.Client.UserProfiles.PeopleManager($context)
I am referring userprofile dll from 16 hive...