trying to update the department and title for a user but using below im not able to get the department properties. please help
$sr = $web.Users | ?{$_.displayname -like "*adi*"}$sr = $web.AllUsers| ?{$_.displayname -like "*adi*"}
trying to update the department and title for a user but using below im not able to get the department properties. please help
$sr = $web.Users | ?{$_.displayname -like "*adi*"}