Execute a PowerShell script before opening a connection
PreviousEstablish a remote access to a Linux machine with Remote Desktop ManagerNextExport and import entries
Last updated
Was this helpful?
Was this helpful?
$date = Get-Date -DisplayHint Date
$RDM.Connection.TabTitle = $RDM.Connection.Name + "(" + $date + ")"$RDM.Cancel = $trueImport-Module DnsClient
$RDM.connection.TeamViewer.ID = (Resolve-DnsName -Name $HOST$).IPAddressImport-Module c:\Temp\RSAToken.ps1
$RSAToken = New_RSAToken
$RDM.Connection.RDP.password = $RDM.Connection.RDP.password + $RSAToken