2
0

Added Recursive Force

This commit is contained in:
bschaper 2024-12-17 15:48:19 -06:00
parent 4885f4b514
commit c1a3c0b723

View File

@ -85,9 +85,9 @@ powershell Copy-Item 'C:\Scripts\TCSE-Login.vbs' 'C:\ProgramData\Microsoft\Windo
echo Successfully Copied Login Scripts... echo Successfully Copied Login Scripts...
:: Remove Leftovers :: Remove Leftovers
powershell Remove-Item -Path 'C:\Scripts\tcse-deploy' powershell Remove-Item -Path 'C:\Scripts\tcse-deploy' -Recurse -Force
powershell Remove-Item -Path 'C:\Scripts.zip' powershell Remove-Item -Path 'C:\Scripts.zip'
powershell Remove-Item -Path 'C:\Scripts\Software\Office2016' powershell Remove-Item -Path 'C:\Scripts\Software\Office2016' -Recurse -Force
powershell Remove-Item -Path 'C:\Scripts\Software\RemoteAgent64-TCSE.exe' powershell Remove-Item -Path 'C:\Scripts\Software\RemoteAgent64-TCSE.exe'
powershell Remove-Item -Path 'C:\Scripts\Software\gcpwstandaloneenterprise64.exe' powershell Remove-Item -Path 'C:\Scripts\Software\gcpwstandaloneenterprise64.exe'