Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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.
Use the code below to get the modified by porperty:
$web=Get-PnPFile -Url /sites/path/default.aspx
It will shows the user login name and Email address
Required, but never shown