...
Individual Option - Chocolatey (Still in development)
Chocolatey is an open source repository for Windows, that acts much the same way that yum or apt-get do for Linux distributions. There is a list of community maintained packages here: https://chocolatey.org/packages.
...
- Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- Invoke-Command -ComputerName QWS_VM_NAME -ScriptBlock { choco install PACKAGE_NAME -y } -credential Administrator
...
$ComputerList = "QWS_CLIENT1","QWS_CLIENT_2"
foreach ($Computer in $ComputerList)
{
Invoke-Command -ComputerName $Computer
{
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install PACKAGE_NAME -y
}
}- Making the command: Invoke-Command (ScriptBlock above) -credential Administrator