I need help compiling a PowerShell Script

Ok so here’s the deal. Long story short I need to create a POSH script that will run on first boot on a couple tablets (Windows 10 IoT – POSH 5). I am testing out a custom image I made, but I also need these POSH lines to run on first boot. I have all the lines I need compiled, but I don’t have much experience with making a script out of all of them that will just run all the way through. I literally taught myself all this stuff in the past 24 hours, but this last part is where I am running into some trouble. I can provide a .txt file with all the lines that I need compiled into a script, i’d just need help putting it all together into one executable script. If someone could help me out I would be really grateful as I have been working on this for a while and am running on empty. Much appreciated.

Here is the .txt file (https://www.dropbox.com/s/iyeuikhuwokuzdb/Scripts.txt?dl=0)

Also notice that the last item in the file was already a vsb – so I don’t think much has to be done to it, although you would know better than I. Thanks again I really appreciate the help here. Please contact me if you have any questions. Thanks :D.

submitted by /u/m00fassa
[link] [comments]

Leave a Reply