(Win7) - POST-SETUP Execute PowerShell script after first reboot

  • Thread starter Thread starter m4dm4n
  • Start date Start date
M

m4dm4n

Guest
Since Dotnet framework cannot be integrated with updates, I also cannot autoupdate PowerShell version (WMF5.1). Both of them must be executed in the Post-Setup phase. But, after everything is installed, first Windows login doesn't include updated PowerShell, I have to reboot the computer so the changes can be made.

And here is the problem. I need to execute PowerShell script, but only after it has been updated to newest version, and I think that this script starts on first logon, and fails.

What can I do to make this script start after the PowerShell has been updated, and after first reboot?
 
Back
Top