Users

All Posts (15)

avatar

magnus03

Disabled

Weird output problem from invoke-command (get-rdmsession)

avatar
avatar
avatar
avatar
magnus03
Disabled

Hi

Yes, got below from support and it worked with different login mode.

Hello,

Maybe we have found something. Are you using Integrated Security option as the Login mode value?

If so, this will not work with the Invoke-Command. It looks like this cmdlet doesn’t transfer the whole Windows user context and in the Event Viewer of the SQL Server, we see that it tries to login as an anonymous account on the SQL Server.

Could you please try with a database account instead? The database account must not be a domain account but a SQL account.

Get and Set comment with powershell

avatar
avatar
avatar
magnus03
Disabled

Hi

Is it possible to Get and Set comment (Logs, On open comment, on close comment) with powershell?

\Masonit

Hide or minimize powershell window during events

avatar
avatar
avatar
avatar
magnus03
Disabled

Nope. See print.

Hide or minimize powershell window during events

avatar
avatar
avatar
avatar
magnus03
Disabled

This big powershell window shows when script runs.

I have tried starting with: PowerShell.exe -windowstyle hidden {your script..}. But does not work.

\Masonit

Hide or minimize powershell window during events

avatar
avatar
avatar
avatar
magnus03
Disabled

Hi

When triggering powershell script during events. Is it possible to hide or atleast minimize the powershell window?

\Masonit

Record Session

avatar
avatar
avatar
avatar
avatar
magnus03
Disabled

Ok, add it to your wishlist.. :) No need to save "empty" recordings.

Record Session

avatar
avatar
avatar
avatar
avatar
magnus03
Disabled

Will it be "smart" and only record when moving mouse or typing? No need to record an one hour idle session.. :)

Record Session

avatar
avatar
avatar
avatar
avatar
magnus03
Disabled

Ok, thanks. When is RDM 14 planned to be released?

Record Session

avatar
avatar
avatar
avatar
avatar
magnus03
Disabled

Hi

Any update?

Office 365 Integration

avatar
avatar
avatar
avatar
avatar
magnus03
Disabled

@Magnus,

Once the username and password are populated, if you press "Enter" on your keyboard, are you able to get in?

Best regards,

Yes.

Now I understand what the problem is. RDM send [ENTER] one time. That makes the curser to move from usename field to password field. It's only when the curser is in password field that [ENTER] triggers login. Is it possible to send [ENTER] twice?

\Magnus

Office 365 Integration

avatar
avatar
avatar
avatar
avatar
magnus03
Disabled

Hello,

I have attached to my post a Office365 session that I have sent to one of our clients and he confirmed me that this session is working well in is environment.

Could you give it a try.

You just need to replace your username/password inside the session after the import.

Best regards,

Hi Jeff

Just tried to import and overall it works fine. But it does not auto login. It fill upp username and password but after that nothing happens. What could be the problem?

\Magnus

Weird output problem from invoke-command (get-rdmsession)

avatar
avatar
avatar
avatar
magnus03
Disabled

Still no luck. :/ Did what you said, Offline engine = SQLLite. Restarted rdm but still no output. Should it help if I open a support case. Maybe we could run a remote session to troubleshoot?

\Magnus

Weird output problem from invoke-command (get-rdmsession)

avatar
avatar
avatar
avatar
magnus03
Disabled

I did some more testing. We have a couple of servers with rdm installed. They all use same MS SQL server as their database source. I have tried running my invoke-command agains one more of the servers with RDM installed. It is the same issue with that one aswell. get-rdmsession returns no output when using invoke-command. If I run get-rdmsession locally on the server with rdm it works fine.

Seems like I only get this problem when MS SQL database that rdm is using is not installed locally..

\Magnus

Weird output problem from invoke-command (get-rdmsession)

avatar
avatar
avatar
avatar
magnus03
Disabled

Hi

RDM is version 12.6.8.0. The server I have trouble with running invoke-command command aginst only has RDM installed. RDM database is a MS SQL database that is installed on another server. We are not using Devolutions Server.

I tried what you said. Both using Update-RDMUI and tried to turn off caching mode. But there is no difference. No output from Get-RDMSession when using invoke-command.

Invoke-Command -ComputerName <> -Credential <> -ScriptBlock {

Import-Module "C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShellModule.dll"

Update-RDMUI

Get-RDMSession

}

\Magnus

Weird output problem from invoke-command (get-rdmsession)

avatar
avatar
avatar
avatar
magnus03
Disabled

Hi

I am trying to collect information from one of our rdm servers with use of invoke-command (powershell) from another server.

The rdm server I collect info from run version 12.6.8.0.

The problem is that when I am trying to collect using get-rdmsession I get nothing back. Other cmdlets like Get-RDMCurrentDataSource, Get-RDMInstance or local cmdlets like get-process works fine. If I run get-rdmsession locally on the rdm server with the same credentials I use with invoke-command it works fine..! It happens only when I use invoke-command or even using enter-pssession. Then I don't get any output from get-rdmsession.

I have tried from another rdm server and from that I get expected output from get-rdmsession using invoke-command. I have tried to compare rdm servers and trying to find a difference. But they both are on same OS version, powershell version and rdm version. Very strange... Only differance I can see is that on the rdm server that the output works. Has the rdm sql database installed locally.

Have anyone any idea why I from one of ours rdm server can't get any output from get-rdmsession when using invoke-command??

I have also tried to narrow get-rdmsession query with specific name, but it always returns noting.

Invoke-Command -ComputerName <server> -Credential <credtials> -ScriptBlock {

Import-Module "C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShellModule.dll"

Get-RDMSession}

\Magnus

1 - 15 of 15 items