Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Update PoSH from v2 to v4 and Continue Script?

$
0
0

Hi all;

I'm in process of developing a script for field techs that will handle a lot of the tedium (and user error-prone processes) involved in setting up a new computer for (a) client(s).

It's fairly basic so far (changes time zone, sets up local admin/pass, tweaks the firewall, etc), but recently ran into an issue where Lenovo sent a Windows 7 machine with v2 on it which meant half of the script didn't run at all.  Turns out they do this fairly regularly.

So, what I'm trying to figure out is how I can get the script to update to Framework v4, reboot, and continue on it's merry way.  Looks like Workflows may be the answer, but then that's in v3, not v2 so . . . no go.

Any thoughts or tricks on how to get this done?

Thanks!


Viewing all articles
Browse latest Browse all 8583

Trending Articles