Exports the mRemoteNG connection file with the encryption parameters specified.
Export-MRNGConnectionFile [-RootNode] <RootNodeInfo> [-Path] <FileInfo> [[-EncryptionEngine] <String>] [[-BlockCipherMode] <String>] [[-KeyDerivationIterations] <Int32>] [-SortConnections] [<CommonParameters>]
The mRemoteNG root connections node generated by New-MRNGRootNode.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
The path to export the connection file to.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
The encryption engine to use when encrypting the connection passwords. Choices are 'AES', 'Serpent', and 'Twofish'. The default is 'AES'.
Required? false
Position? 3
Default value AES
Accept pipeline input? false
Accept wildcard characters? false
The block cipher mode to use when encrypting the connection passwords. Choices are 'GCM', 'CCM', and 'EAX'. The default is 'GCM'.
Required? false
Position? 4
Default value GCM
Accept pipeline input? false
Accept wildcard characters? false
The number of key derivation iterations to perform when encrypting the connection passwords. Valid values are in the range 1,000 to 50,000.
Required? false
Position? 5
Default value 1000
Accept pipeline input? false
Accept wildcard characters? false
Should the exported connections be sorted?
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
System.Void
PS C:\>Export-MRNGConnectionFile -RootNode $RootNode -Path .\Connections.xml (Get-Credential).Password -SortConnections