VMware Synchronizer: Differentiate Between RDP and SSH Connections
1 vote
I have been testing the VMware synchronizer over the last few days, and overall it works as designed. However, during testing I noticed a limitation that makes daily usage a bit inconvenient, especially in mixed Windows/Linux environments.
As I understand it, there are currently two main ways to synchronize entries:
In environments with both Windows and Linux virtual machines, this results in additional manual work to adjust the connection type after synchronization.
Feature Request:
Would it be possible to enhance the VMware synchronizer so that it automatically differentiates between operating systems and creates:
This would allow credentials to be stored properly and would significantly improve usability and automation for mixed OS environments.
Thank you for considering this feature.
Hello,
As this sounds interesting, do you know how we could distinguish which OS it is in our code? I need a little bit of help to find a way to implement it.
Regards
David Hervieux
Hello David,
thank you for answer. This is my Powershell script to get the VMs divided by RDP/SSH. Does this help
# Get all VMs
$vms = Get-VM
foreach ($vm in $vms) {
$folderPath = Get-FolderPath -obj $vm
# Determine if VM uses RDP or SSH based on OS
$osType = $vm.Guest.OsFullName
if ($osType -like "*Windows*") {
# Windows VM - use RDP
$connectionType = "RDP (Microsoft Remote Desktop)"
$port = "3389"
$credentialUserName = ""
$credentialPassword = ""
$openInConsole = "Nein"
} else {
# Non-Windows VM (e.g. Linux) - use SSH
$connectionType = "SSH terminal"
$port = ""
$credentialUserName = ""
$credentialPassword = ""
$openInConsole = ""
}
For what it is worth, I would second the desire for this feature.