I want to get the user name who has last modified default.aspx pages in SharePoint Online site. Only option is to use PnP powershell for SharePoint Online sites.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
Use the code below to get the modified by porperty:
$web=Get-PnPFile -Url /sites/path/default.aspx $web.ModifiedBy
It will shows the user login name and Email address