tag:help.appveyor.com,2012-11-13:/discussions/problems/18507-set-rdp-screen-sizeAppVeyor: Discussion 2018-12-11T07:57:45Ztag:help.appveyor.com,2012-11-13:Comment/466415192018-12-10T13:55:59Z2018-12-10T13:56:01ZSet RDP screen size<div><p>I also tried to use custom script, but still no luck:<br>
<a href="https://github.com/jdi-testing/jdi-light-csharp/blob/0c11cacfab754d441836a37f9562836c82f698b5/screen.ps1">https://github.com/jdi-testing/jdi-light-csharp/blob/0c11cacfab754d...</a></p></div>Evgeniy Kosjakovtag:help.appveyor.com,2012-11-13:Comment/466415192018-12-10T22:53:24Z2018-12-10T22:53:24ZSet RDP screen size<div><p>How did you try to use this script? Please share your configuration in yaml format.</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/466415192018-12-11T06:51:21Z2018-12-11T06:51:21ZSet RDP screen size<div><p>Hi Owen,</p>
<p>I used it in before build section:<br></p>
<pre>
<code> before_build:
- nuget restore JDI.Light/JDI.Light.sln
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1'))
- ps: .\screen.ps1</code>
</pre>
<p>Full yaml file is available here:<br>
<a href="https://github.com/jdi-testing/jdi-light-csharp/blob/0c11cacfab754d441836a37f9562836c82f698b5/appveyor.yml#L47">https://github.com/jdi-testing/jdi-light-csharp/blob/0c11cacfab754d...</a></p>
<p>Thank you</p></div>Evgeniy Kosjakovtag:help.appveyor.com,2012-11-13:Comment/466415192018-12-11T07:14:56Z2018-12-11T07:14:56ZSet RDP screen size<div><p>You're downloading the wrong script (<code>https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1</code>).<br>
You need <code>https://raw.githubusercontent.com/appveyor/ci/master/scripts/set-screenresolution.ps1</code></p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/466415192018-12-11T07:56:26Z2018-12-11T07:56:36ZSet RDP screen size<div><p>It's working now, thank you!</p></div>Evgeniy Kosjakov