Executing scripts
Learn how to execute scripts directly from the browser or via the API
Preface

On Windows
On Linux

Custom script interpreters


Last updated
Was this helpful?
Learn how to execute scripts directly from the browser or via the API




Last updated
Was this helpful?
Was this helpful?
iwr https://7-zip.org/a/7z1900-x64.msi -OutFile 7z1900-x64.msi
msiexec /i 7z1900-x64.msi /quiet /qn /norestart
sleep 10
Remove-Item -Path 7z1900-x64.msi -Force
if (Test-Path "C:\Program Files\7-Zip\7z.exe") {
Write-Host "7zip installed"
}if (Test-Path "C:\Program Files\Notepad++\notepad++.exe" -PathType leaf) {
Write-Host "Notepad++ is already installed."
}
else {
cd $env:Temp
iwr https://notepad-plus-plus.org/repository/7.x/7.0/npp.7.Installer.x64.exe -OutFile npp.7.Installer.x64.exe
.\npp.7.Installer.x64.exe /S
sleep 10
rm npp.7.Installer.x64.exe -Force
New-Item -ItemType SymbolicLink -Path "C:\Users\Public\Desktop\" -Name "notepad++.lnk" -Value "C:\Program Files\Notepad++\notepad++.exe"
Write-Host "Notepad++ installed"
}