Users

All Posts (10)

avatar

reviox

Programmatically assigning various credentials to entries

avatar
avatar
avatar
avatar

Hi,

Im sorry I didnt answer until now.

I think i could better test this with non productive Datasources, but my Problem is i dont know how I chose a specific DataSource to set these Settings.

Would it be possible if i list the Settings i want to use and you help me to set these?

Im grateful for your Help.

Regards

Programmatically assigning various credentials to entries

avatar
avatar
avatar
avatar

Yes thats the Output i See.

Programmatically assigning various credentials to entries

avatar
avatar
avatar
avatar

Hi,

I tried it with embedded but of course that didnt worked because i dont got the ID.

cls;

Write-Host;

Write-Host "Fixing SSH sessions"

Write-Host;

$SelectedSessions = Get-RDMSession | where {$_.Name -match "EBDMZ-S101a"}

foreach ($session in $SelectedSessions)

{

Write-Host (" Processing : " + $session.Name);

$session.Events.WarnIfAlreadyOpened = $true;

#$session.OpenEmbedded = $true

$session.CredentialConnectionID = "1310CF82-6FAB-4B7A-9EEA-3E2E451CA2CF"

Set-RDMSession $session;

}

Write-Host;

Write-Host "DONE!"

Write-Host;

Thats how I tried it with the "inherited" setting. My RDM Version is 10.6.5.0, should I still send the Script above via Mail?

Thanks and regards

Programmatically assigning various credentials to entries

avatar
avatar
avatar
avatar

Thank you for your explanation,

But after i tried this I get this Errormessage when I want to edit an entry: Unable to find the credential Entry, this setting will be lost.

I tried to set credentials to Embedded and after that to Inherited. Both didnt Work.

I dont know if i chose the wrong way to adjust these settings.

For the other setting i used "$session.Events.WarnIfAlreadyOpened = $true" which worked.

$session.CredentialConnectionID = "1310CF82-6FAB-4B7A-9EEA-3E2E451CA2CF" didnt work.

Greetings

Default Profile with PowerShell

avatar
avatar
avatar

I m Trying to set Settings like "credentials = credentials respository", to set this i tried "$session.credentials = "credentials respository".

Till now i just dont really know how to get "access" to these settings. Is there something like a "Guide" who describes how to access these settings?

Thank you and sorry for my maybe kinda "weird" questions.

Default Profile with PowerShell

avatar
avatar
avatar

I already tried this but i get no output even if I use $_.Name "*a* or something like that.

Ah i found it out by myself, had to use $_.Name -match,

Default Profile with PowerShell

avatar
avatar
avatar

Hi,

A normal RDM Entry.

If I use the "Get-RDMSession" Command I cant filter by Name, so that I Could change the Setting from only one specified Entry.

Thank you for your Help.

Default Profile with PowerShell

avatar
avatar
avatar

I saw that this is not possible on each entry. On few entry i cant see the "log" tab with the options "Warn if already open".

I know i got a lot of questions but how can i get e specified RDM-Session by Name. I can Format the list by name but cant search by name (PowerShell).

Default Profile with PowerShell

avatar
avatar
avatar

Hi Maurice

I m very grateful for your Help, your Script worked very well.

The Preview Tab you were talking about, I couldnt find it, where is this tab? I only see the Tabs: FILE, EDIT, VIEW, ADMINISTRATION, TOOLS, WINDOW, HELP.

Thank you and Greetings

Default Profile with PowerShell

avatar
avatar
avatar

Hello Guys

I want to set global settings in the RDM with a PowerShell Script, is this possible?

I already installed the pssnapin for the Remote Desktop Manager.

It should be possible to make settings like "Warn if Already Opened".

Any help desired :)

Thank you Guys

1 - 10 of 10 items