17 lines
496 B
Plaintext
17 lines
496 B
Plaintext
# Add These Commands Under "Custom Scripts, Scripts to Run When First User Logs On"
|
|
|
|
# 1. CMD
|
|
curl -L https://gitea.tcse.us/tricounty/tcse-deploy/archive/main.zip --output C:\Scripts.zip
|
|
|
|
# 2. PS1
|
|
Expand-Archive -Path 'C:\Scripts.zip' -DestinationPath 'C:\Scripts'
|
|
timeout /t 30
|
|
|
|
# 3. PS1
|
|
Move-Item -Path 'C:\Scripts\tcse-deploy\*' -Destination 'C:\Scripts'
|
|
timeout /t 15
|
|
Remove-Item -Path 'C:\Scripts\tcse-deploy\'
|
|
Remove-Item -Path 'C:\Scripts.zip'
|
|
|
|
# 4. CMD
|
|
C:\Scripts\TCSE-Computer-Deploy.bat |