Muokkaa

Jaa


Get-SPOTenantLogLastAvailableTimeInUtc

Returns the most recent time when the SharePoint Online organization logs were collected.

Syntax

Get-SPOTenantLogLastAvailableTimeInUtc []

Description

This cmdlet retrieves the time in Coordinated Universal Time (UTC) when the logs were last collected. After you know the time, you can use the Get-SPOTenantLogEntry cmdlet to retrieve the logs.

You must be at least a SharePoint Online administrator to run the cmdlet.

For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at Intro to SharePoint Online Management Shell.

Examples

-----------------------EXAMPLE 1-----------------------------

Get-SPOTenantLogLastAvailableTimeInUtc

This example returns the time in UTC when the SharePoint Online organization logs were most recently collected.