Is there any way to install Puppet Agent on bulk Windows server?

To achieve this I have created small PowerShell script, but not working as expected.

```
$computers = Get-Content "C:\server.txt"
$pm_ip = '10.xx.xx.xx'
$port = '8140'

foreach ($computer in $computers) {
    $ErrorActionPreference = "SilentlyContinue"
    Set-ExecutionPolicy -Scope Process -ExecutionPolicy AllSigned
    [Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}; 
    $webClient = New-Object System.Net.WebClient; 
    $webClient.DownloadFile("https://downloads.puppetlabs.com/windows/puppet- 
    agent-5.5.3-x64.msi"); 
    extension_requests:pp_role=utility extension_requests:pp_environment=e1 
    agent:noop=true

    Write-Host "$($_.ServerName) was configured" -BackgroundColor 00 -ForegroundColor 10
}

```