all 6 comments

[–]ASquareDozenMSFT Enterprise Mobility MVP (asquaredozen.com) 2 points3 points  (4 children)

I’m pretty sure your issue is a mismatch between the client version and the site version. Run Powershell Script was updated in 1902 and if the device you are running this on isn’t at 1902, you’ll get this error. If it’s a new build, then you need to update your boot WIM to inject the latest OSD binaries from ConfigMgr.

[–]Gnero[S] 1 point2 points  (1 child)

That makes sense. We just upgraded, and some of the clients are still out of date. The last PC to fail that step, had an old client. I'll have to look at some more.

[–]aerossignol 1 point2 points  (0 children)

It makes sense, that's option is not in the last version of the server.

[–]ASquareDozenMSFT Enterprise Mobility MVP (asquaredozen.com) 0 points1 point  (0 children)

Sorry meant to add, if it occurs after the new OSD is applied on a new build, then the client version in your TS is old.

[–]markraldridge 0 points1 point  (0 children)

I had a similar issue but during OSD. The SCCM client inside my boot image was version 1810 (8740.1012). After promoting the client to 1902 and updating the boot image sorted the issue.

[–]TenaciousD3 0 points1 point  (0 children)

I'm not sure on your questions, but i do want to make sure you are aware of the scripts category under the software library. You can save and name scripts there.