Added Remove Deploy on Login
This commit is contained in:
parent
3b84463b3e
commit
93d736da97
@ -13,6 +13,10 @@ echo Starting setup script at %DATE% %TIME% > "%LOGFILE%"
|
||||
echo Updating Scripts...>> "%LOGFILE%"
|
||||
powershell -ExecutionPolicy Bypass -File "C:\Scripts\Login\Update-Scripts.ps1"
|
||||
|
||||
:: Remove Leftover Deploy Script
|
||||
echo Removing Deploy...>> "%LOGFILE%"
|
||||
powershell Remove-Item -Path 'C:\Scripts\TCSE-Computer-Deploy.bat' -Force
|
||||
|
||||
:: Enable Wake on LAN
|
||||
echo Checking Wake on LAN...>> "%LOGFILE%"
|
||||
powershell -ExecutionPolicy Bypass -File "C:\Scripts\Login\Enable-WOL.ps1"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user