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.

e.g https://test.sharepoint.com/sites/home/default.aspx

Please assist.

  • page properties are not updating even if i am editing the page(without check out). Please help. Commented Jul 17, 2019 at 8:02

1 Answer 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.