Table of Contents
Download and install VMware Player
#Install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force `
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
#Install VMware Workstation Player
choco install vmware-workstation-player -y
#Install VMware Workstation Player
Mac address
00:50:58:3F:FF:FF
Start the VM on boot
$Path = "$env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\aec.bat"
$Value = '"C:\Program Files (x86)\VMware\VMware Player\vmplayer.exe" "D:\VM\AEC\AEC.vmx"'
New-Item -ItemType "file" -Path $Path -Value $Value -Force
Notepad.exe $Path
Block firewall
netsh advfirewall firewall add rule name="BLACKLIST" dir=out action=block remoteip="192.168.0.11-192.168.0.54"
netsh advfirewall firewall show rule name="BLACKLIST"