Is it possible to get when was the last WRITE time of a file in a document library by using Powershell?
$url = "http://myserver/sites/mysite/shared%20documents/myfile.xlsx" $webclient = New-Object System.Net.WebClient $lastWriteTimestamp = #...
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
$url = "http://myserver/sites/mysite/shared%20documents/myfile.xlsx" $web = Get-SPWeb http://myserver/sites/mysite $file = $web.GetFile($url) $lastWriteTimestamp = $file.Item["Modified"]
$lastWriteTimestamp = $file.TimeLastModified
Find all properties of
SPFile in MSDN