Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Chrisy1963
Engaged Sweeper II

I have a Poweshell script that if I run it on a machine locally in PS will silently run the Windows 10 to Windows 11 (24H2) upgrade, perform one restart and it's good to go. SO, I KNOW THE PS SCRIPT WORKS. I've attached a snip-it of the script that works locally.

I've saved the Powershell Script in the Package share and set up a deployment job, but it just times out and eventually fails.

This is the job syntax.

powershell.exe -executionpolicy bypass -file "PackageShare}\UpgradetoWin11.ps1"

 

 I have used ChatGPT, LanSweeper and many resources to no avail.

Any suggestions?

 

0 REPLIES 0

Deployment Packages

Share topics/ issues related to deployment packages. Please use/rely on content with caution as it is publicly generated.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now