tag:help.appveyor.com,2012-11-13:/discussions/problems/23491-pscmdletshouldcontinue-method-not-available-on-visual-studio-2017-imageAppVeyor: Discussion 2019-05-10T14:10:04Ztag:help.appveyor.com,2012-11-13:Comment/472487342019-05-09T17:22:36Z2019-05-09T17:22:36Z$PSCmdlet.ShouldContinue method not available on Visual Studio 2017 image<div><p>As i understand it, WMF is not applicable to Windows server 2016 (which is what that image runs on).<br>
Powershell is already version 5.1 on all images.<br>
This may have to do with custom powershell host. Can you try to launch your script in a new instance of powershell via <a href="https://www.appveyor.com/docs/how-to/rdp-to-build-worker/">RDP</a></p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/472487342019-05-09T20:50:01Z2019-05-09T20:50:01Z$PSCmdlet.ShouldContinue method not available on Visual Studio 2017 image<div><p>I'll try this later tonight when I have some time. I'll reply back once I've been able to test.</p></div>mcbobketag:help.appveyor.com,2012-11-13:Comment/472487342019-05-10T08:40:45Z2019-05-10T08:40:45Z$PSCmdlet.ShouldContinue method not available on Visual Studio 2017 image<div><p>Running the build in a bare PowerShell host does call the intended function correctly. However, I'm going to work around this and will no longer have this issue (I'll be using a different function entirely). Thanks for the tip. Picture attached.</p></div>mcbobketag:help.appveyor.com,2012-11-13:Comment/472487342019-05-10T14:10:02Z2019-05-10T14:10:02Z$PSCmdlet.ShouldContinue method not available on Visual Studio 2017 image<div><p>Ok, thanks for sharing your result.</p></div>Owen McDonnell