04-11-2022, 10:09 AM
Hi,
I am working on automatically configuring Connection in ASG Desktop with Powershell.
I would like to add RDP Options to the Connection via Powershell (or any other Language) but I cat find a Command.
- Port number
- Start a Program
- Disable CredSSP
Does anyone have a Solution?
$NewCon = [PSCustomObject]@{
ConnectionName = "TEST"
ConnectionDescription = "Test"
ConnectionDestination = "ServerDNS"
ParentId = '123456...'
Port = 3389
Program = "c:\...."
}
$NewObject = New-RDBaseItem -ParentItemId $NewCon.ParentId ...
Set-RDPropertiesConnection -ItemId $NewObject.ItemId ...
I am working on automatically configuring Connection in ASG Desktop with Powershell.
I would like to add RDP Options to the Connection via Powershell (or any other Language) but I cat find a Command.
- Port number
- Start a Program
- Disable CredSSP
Does anyone have a Solution?
$NewCon = [PSCustomObject]@{
ConnectionName = "TEST"
ConnectionDescription = "Test"
ConnectionDestination = "ServerDNS"
ParentId = '123456...'
Port = 3389
Program = "c:\...."
}
$NewObject = New-RDBaseItem -ParentItemId $NewCon.ParentId ...
Set-RDPropertiesConnection -ItemId $NewObject.ItemId ...