RDM Datasource over WINRM
I run a powershell script over winrm in an Golang software. To run the WinRM command i use the Repository https://github.com/masterzen/winrm .
But i get a 'unknown error Post "https://[servername]:5986/wsman": net/http: timeout awaiting response headers' error when i run get-rdmdatasource in the script (pwsh -File ... ).
I use Windows Server 2019 with Powershell 7 and Powershell 5 installed.
If i write other powershell commands in the script everything works fine.
Does anyone have experience with a similar situation?
Thanks
tl
New RDMSession not shown in RDM
I can connect the datasource and get sessions with powershell now.
$datasource = Get-RDMDataSource | where
{$_.Name -eq "ConnectionName"}
Set-RDMDataSource -DataSource $datasource
Get-RDMSession -GroupName TestTL -Name testerino
But when i want to create a new RDM Session with
New-RDMSession -Type RDPConfigured -Name TestTLSession -Group TestTL -Host supertollerserver
theres is no error, but the Session is not shown in the RDM in the directory „TestTL“.
I cant find the connection name in the dbo.connections datatable either.
Is there something i forgot in the command?