Note - This is in active development. There will be bugs!
- Open a PowerShell prompt as administrator
- Download the installation script installer.ps1 to your Desktop:
(New-Object net.webclient).DownloadFile('https://raw.githubusercontent.com/securekomodo/Pentest-VM/refs/heads/main/install.ps1',"$([Environment]::GetFolderPath("Desktop"))\install.ps1")
Unblock-File "$([Environment]::GetFolderPath("Desktop"))\install.ps1"
Set-ExecutionPolicy Unrestricted -Force
powershell "$([Environment]::GetFolderPath("Desktop"))\install.ps1"
Manual Steps
- Unblock the installation script:
Unblock-File .\install.ps1
- Enable script execution:
Set-ExecutionPolicy Unrestricted -Force
- If you receive an error saying the execution policy is overridden by a policy defined at a more specific scope, you may need to pass a scope in via Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force. To view execution policies for all scopes, execute Get-ExecutionPolicy -List
Finally, execute the installer script as follow:
.\install.ps1