Skip to content

Commit 44317ee

Browse files
Update Export-SPOQueryLogs.md
Added an output example to get an idea what the result is of this cmdlet.
1 parent ead9944 commit 44317ee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Export-SPOQueryLogs.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ Export-SPOQueryLogs [-StartTime <DateTime>] -LoginName <String> -OutputFolder <S
2222
## DESCRIPTION
2323
Export the query logs for a user in an Office 365 tenant. The result of the export is stored in the current working folder or a specified folder, in the two files loginName_queries.csv and loginName_personalQueries.csv.
2424

25+
The output of the queries.csv will be for example:
26+
27+
| QueryTime | QueryText |
28+
| ------------- | ------------- |
29+
| 5/31/2018 09:16 | Querytext1 |
30+
| 5/31/2018 08:16 | Querytext2 |
31+
2532
You have to be a tenant admin to run the cmdlet.
2633

2734
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251832 (http://go.microsoft.com/fwlink/p/?LinkId=251832).

0 commit comments

Comments
 (0)