Skip to main content
Export Connections
Updated this week

Command

Export-Connections

Description

Exports all connections from the ShareGate Explorer to a file.

For an example of how to use this script, Add site collections to the Explorer in PowerShell

Index

Examples

Export to an XLSX file

Export-Connections -Path "C:\MyReports\MyConnections.xlsx"

Export to a CSV file

Export-Connections -Path "C:\MyReports\MyConnections.csv"

Syntax

Export-Connections-Path <String>
Export-Connections-Path <String>
-Overwrite <SwitchParameter>

Parameters

-Path <String>

Specifies the path where you want to save the file. Supported formats are Excel and CSV.

Required?

False

Default value

None

Accept pipeline input?

False

Accept wildcard characters?

False

Parameter set name

(All)

Aliases

PSPath

-Overwrite <SwitchParameter>

Specified that the file will be overwritten if it already exists.

Required?

False

Default value

None

Accept pipeline input?

False

Accept wildcard characters?

False

Parameter set name

(All)

Aliases

None

Did this answer your question?