| external help file | Microsoft.Online.SharePoint.PowerShell.dll-Help.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/get-spotenantloglastavailabletimeinutc |
| applicable | SharePoint Online |
| title | Get-SPOTenantLogLastAvailableTimeInUtc |
| schema | 2.0.0 |
| author | samkabue |
| ms.author | speedta |
| ms.reviewer |
Returns the most recent time when the SharePoint Online organization logs were collected.
Get-SPOTenantLogLastAvailableTimeInUtc [<CommonParameters>]
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.
Get-SPOTenantLogLastAvailableTimeInUtcThis example returns the time in UTC when the SharePoint Online organization logs were most recently collected.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.