Forum

Posts by 87insane (87insane)

87insane
87insane
Posts: 5

No Ideas?

6 yrs Alternative connection in one session
87insane
87insane
Posts: 5

THX, but it doesent work...

this also works with ISDN? In my test it was only with IPs.
But I can only use an IP when I'm connected to the network via ISDN.

I select ISDN, the number 12345 and get no connection. Now RDM should recognize this and choose the alternate number.
edited by 87insane on 1/27/2014

7 yrs Alternative connection in one session
87insane
87insane
Posts: 5

Hi @ all,

is there a way in a session, an alternative connection to set up?

example:
I want to connect me via ISDN to another PC. The connection can not be established and now RDM is to select an alternate number.

7 yrs Alternative connection in one session
87insane
87insane
Posts: 5

Perfectly! THX

7 yrs Connection Import with children
87insane
87insane
Posts: 5

Hi Guys,

i'm working on an import script.
This should import me some links from a .csv. This also works wonderfully.

My problem now are the children / sub connections ..
For each connection always include the same children / sub connections.

Example:
Connection 1 (Radmin)
- Subconnection 1 (Radmin)
- Subconnection 2 (Radmin)
- Subconnection 3 (Radmin)
.....

Connection 2 (Radmin)
- Subconnection 1 (Radmin)
- Subconnection 2 (Radmin)
- Subconnection 3 (Radmin)
.....

In the RDM but only the main connection is created plus the last standing in the script children / sub connections.

The Script:
$csv = Import-Csv -Delimiter "" -Encoding UTF7 "c:\temp\nameoflist.csv"
Write-Host;

foreach ($connection in $csv)
{
Write-Host ("Importing : " + ($connection.StoreNr + ' ' + $connection.Store));
Write-Host;

$session = New-RDM-Session -Name ($connection.StoreNr + ' ' + $connection.Store) -Kind "Radmin"
$session.Group = $connection.Customer;
$session.Description = ($connection.StoreNr + ' ' + $connection.Store);
$session.Radmin.Host = "xxx.xxx.xxx.xxx"
$session.Radmin.Color = "Color8bpp"
$session.Radmin.Mode = "FullControl"
$session.VPN.AutoClose = "false"
$session.VPN.CloseMode = "Manually"
$session.VPN.Enabled = "true"
$session.VPN.Mode = "AlwaysConnect"
$session.VPN.Name = "ISDN CONNECTION"
$session.VPN.UserName = "USERNAME"
$session.VPN.VPNSafePassword = 'PW';
$session.VPN.RasPhoneNumber = $connection.RAS;
$session.MetaInformation.City = $connection.Store;
$session.MetaInformation.Phone = $connection.Telefon;
$session.MetaInformation.Softwares = $connection.System;
$session.MetaInformation.OS = $connection.OS;


$session.Children = New-RDM-Session -Name "Connection 1" -Kind "Radmin"
$session.Children.Radmin.Host = "xxx.xxx.xxx.xxx"
$session.Children.Radmin.Color = "Color8bpp"
$session.Children.Radmin.Mode = "FullControl"

$session.Children = New-RDM-Session -Name "Connection 1" -Kind "Radmin"
$session.Children.Radmin.Host = "xxx.xxx.xxx.xxx"
$session.Children.Radmin.Color = "Color8bpp"
$session.Children.Radmin.Mode = "FullControl"

......................


Set-RDM-Session -Session $session -NoRefresh;
}


Any ideas?

7 yrs Connection Import with children