Hello,
I want to set the screen size mode. I can retrieve the value:
Get-RDMSessionProperty -ID $session.ID -Path RDP -Property RDP.ScreenSizingMode
returns for example 'Default'
However, setting seems to fail:
Set-RDMSessionProperty -ID $session.ID -Path RDP -Property RDP.ScreenSizingMode -Value 'AutoScale'
WARNING: Path or property not found. Value not set.
What am I missing here? thx!
Hello,
Instead of using the Set-RDMSessionProperty cmdlet, you can use the following method.
$session.RDP.ScreenSizingMode = "AutoScale" Set-RDMSession $session -Refresh
Let us know if that helps.
Best regards,
Érica Poirier
That one seems to be working just fine! Thank you!
Hello,
Thank you for your feedback; I'm glad it works as expected.
This method is the one we prefer using. The only properties that have their own cmdlets and that we recommend using is Get/Set-RDMSessionUsername and Get/Set-RDMSessionPassword.
Let us know if you have further questions about this.
Best regards,
Érica Poirier