For an example on how to use this script, see here.
Command
Export-Connections
Syntax
Export-Connections
[-Path <String>] [-Overwrite <SwitchParameter>]
Description
Exports all connections from the Sharegate Explorer to a file.
Examples
Export to a XLSX file
Export-Connections -Path "C:\MyReports\MyConnections.xlsx"
Export to a CSV file
Export-Connections -Path "C:\MyReports\MyConnections.csv"
Parameters
-Overwrite <SwitchParameter>
Specifies that the file will be overwritten if it already exist.
Required? | False |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
-Path <String>
Specifies the path where you want to save the file. Supported formats are Excel and CSV.
Required? | False |
Position? | 0 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | PSPath |
Inputs
None
Outputs
String
The export result.
Comments
0 comments
Please sign in to leave a comment.