Skip to content

Latest commit

 

History

History
89 lines (72 loc) · 2.37 KB

Export-MRNGConnectionFile.md

File metadata and controls

89 lines (72 loc) · 2.37 KB

Export-MRNGConnectionFile

SYNOPSIS

Exports the mRemoteNG connection file with the encryption parameters specified.

SYNTAX

Export-MRNGConnectionFile [-RootNode] <RootNodeInfo> [-Path] <FileInfo> [[-EncryptionEngine] <String>] [[-BlockCipherMode] <String>] [[-KeyDerivationIterations] <Int32>] [-SortConnections] [<CommonParameters>]

DESCRIPTION

PARAMETERS

-RootNode <RootNodeInfo>

The mRemoteNG root connections node generated by New-MRNGRootNode.

Required?                    true
Position?                    1
Default value
Accept pipeline input?       false
Accept wildcard characters?  false

-Path <FileInfo>

The path to export the connection file to.

Required?                    true
Position?                    2
Default value
Accept pipeline input?       false
Accept wildcard characters?  false

-EncryptionEngine <String>

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

-BlockCipherMode <String>

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

-KeyDerivationIterations <Int32>

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

-SortConnections <SwitchParameter>

Should the exported connections be sorted?

Required?                    false
Position?                    named
Default value                False
Accept pipeline input?       false
Accept wildcard characters?  false

INPUTS

OUTPUTS

System.Void

NOTES

EXAMPLES

EXAMPLE 1

PS C:\>Export-MRNGConnectionFile -RootNode $RootNode -Path .\Connections.xml (Get-Credential).Password -SortConnections