diff --git a/appveyor.yml b/appveyor.yml
index cf84de502d8a977ff4f7c843b244fdd358689e9a..e871bb3e893f7a35ed1c709d9a185d838662f2e0 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -5,5 +5,5 @@ build_script:
 - cmd: C:\MinGW\bin\make.exe -C src MINGW=1 NOASM=1 NOPNG=1
 
 on_finish:
--ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
+- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))