1

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.

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

1 Answer 1

0

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

Your Answer

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

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