SharePoint powershell – how to add a timestamp?

Here is how (and how to output variable properties):

filter timestamp {"$(Get-Date -Format o): $_"}
Write-Host("$($_.LoginName) " |timestamp);

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply