mirror of
https://github.com/indetectables-net/toolkit.git
synced 2025-06-22 02:40:50 +00:00
13 lines
548 B
Batchfile
13 lines
548 B
Batchfile
@echo off
|
|
|
|
SET DIR=%~dp0%
|
|
|
|
::download install.ps1
|
|
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "((new-object net.webclient).DownloadFile('https://community.chocolatey.org/install.ps1','%DIR%install.ps1'))"
|
|
|
|
::run installer
|
|
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& '%DIR%install.ps1' %*"
|
|
|
|
:: sleep...
|
|
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "Start-Sleep -s 5"
|