Importing sessions
Here it is (attached)
- Save attached file to disk
- Start RDM PowerShell, Tools -> PowerShell (RDM CmdLet)
- type: "C:\Path\to\PS\1\File\ImportPutty.ps1" "C:\Path\To\Putty\Connection\Manager\sample.dat"
- Refresh RDM sessions
Now this script is provided as is, no guarantee.
The session hierarchy is preserved, but I'm not importing every value from the .dat file. Feel free do modify as need be.
Here is what I get when I open the PowerShell and run the command:
PS C:\Program Files (x86)\Devolutions\Remote Desktop Manager> "c:\users\layftr\downloads\ImportPutty.ps1" "e:\PuttyDB\DRBA.dat"
At line:1 char:45
+ "c:\users\layftr\downloads\ImportPutty.ps1" "e:\PuttyDB\DRBA.dat"
+ ~~~~~~~~~~~~~~~~~~~~~
Unexpected token '"e:\PuttyDB\DRBA.dat"' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
Thanks you so much I was able to import all sessions into the system.
Importing sessions
Here it is (attached)
- Save attached file to disk
- Start RDM PowerShell, Tools -> PowerShell (RDM CmdLet)
- type: "C:\Path\to\PS\1\File\ImportPutty.ps1" "C:\Path\To\Putty\Connection\Manager\sample.dat"
- Refresh RDM sessions
Now this script is provided as is, no guarantee.
The session hierarchy is preserved, but I'm not importing every value from the .dat file. Feel free do modify as need be.
Here is what I get when I open the PowerShell and run the command:
PS C:\Program Files (x86)\Devolutions\Remote Desktop Manager> "c:\users\layftr\downloads\ImportPutty.ps1" "e:\PuttyDB\DRBA.dat"
At line:1 char:45
+ "c:\users\layftr\downloads\ImportPutty.ps1" "e:\PuttyDB\DRBA.dat"
+ ~~~~~~~~~~~~~~~~~~~~~
Unexpected token '"e:\PuttyDB\DRBA.dat"' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
Importing sessions
I am having the same issue I currently use Putty Connection manager and would like to just import the xml or .dat file into the remote desktop manager. Any help would be great.