Jump to content


Deilson Oliveira

Established Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Deilson Oliveira

  • Rank
    Newbie
  1. It would be much more useful if you could share the script here if you succeeded!
  2. Update: I put this in the SMSTSPostAction field: START powershell.exe -ExecutionPolicy ByPass -WindowStyle Hidden -File "C:\TEMP\install.ps1" And inside the .ps1 file there is this: Start-Process -NoNewWindow -Wait -FilePath "C:\TEMP\setup64.exe" -ArgumentList "/s" -PassThru Remove-Item -path C:\TEMP -Force -Recurse -ErrorAction SilentlyContinue Remove-Item -path C:\_SMSTaskSequence -Force -Recurse -ErrorAction SilentlyContinue Restart-Computer However you are not installing, do not delete the folders also just restart the computer at the end, any help?
  3. The problem with that is that I don’t know ANYTHING, nor how to implement it, I’ll spend a lot of time (which I don’t have) to study the documentation, while the script, just insert it in the fields and it’s ready, and in the next version of the system image, I’ll have time to be able to put this tool into practice. Is it more complex to do the scrtipt than to use this tool? I even joined some lines but it is not working. Edit: I downloaded the tool, for me it is absurdly complex to study this now, because the image I am making is ready (using the Batch File, however the CMD.exe window keeps appearing during the login screen) I just wanted to switch to powershell.
  4. I need to install Symantec Endpoint Protection, what would the command line be like in powershell where I can call a .ps1 script in a completely hidden and silent way? I did a previous TS that copies the setup64.exe from SEP to "C:\TEMP\" I don't have much knowledge on powerhsell as would the script that would install it silently? the argument for installing it via Batch File is / s. However, the CMD window appears during Windows logon, and Powershell can do all of this without any windows appearing, and I wanted powershell to wait for the installation to finish (I researched this and think the parameter is -WaitProcess but I don't know where how to put it) and after the installation is finished, delete the TEMP folder and restart the computer. Any help with that please?
×
×
  • Create New...