Skip to content

How to deploy a package to computers

Brock Bingham candid headshot
Brock Bingham|Updated July 24, 2025
Dog drooling while reading content on laptop
Dog drooling while reading content on laptop

You can deploy software packages to Windows computers using PowerShell, Group Policy, PDQ Connect, or PDQ Deploy. The best method depends on whether you manage local or remote devices. Here’s how each option works.

How do you deploy software with PowerShell?

You can deploy software packages with PowerShell by copying an MSI installer to target devices and running it silently with msiexec. Here’s an example script:

#Only works with MSI and only one installer in the source folder at a time #Add computer targets ("computer1", "computer2", etc...) $computers = "<computer1>", "<computer2>" #Path to your installer share driver $installer = Get-ChildItem \\<server_name>\<installer_share_drive> #Installer destination path $tempPath = "C$\Temp" #Start foreach loop foreach ($computer in $computers) { #Test if the installer destination path exists; if not, create it If(!(Test-Path "\\$computer\$tempPath")){ New-Item -ItemType Directory -Force -Path "\\$computer\C$\Temp" } #Copy the installer to destination Copy-Item -Path $installer -Destination "\\$computer\$tempPath" -Force #Run copied MSI silently on target PC Invoke-Command –ComputerName $computer –ScriptBlock {msiexec.exe /i "C:\Temp\$($using:installer.Name)" /qn} }

This script copies an MSI installer from a network share to the targeted computers, then runs it silently. You can expand it to target devices from a CSV or run multiple MSIs with additional loops.

Remember: When executing PowerShell against devices other than your local computer, you may need to enable Windows Remote Management (WinRM) for it to work. In this example, you also need a network share with the proper permissions to ensure that the installer files can be copied to target devices.

How do you deploy packages using Group Policy?

Group Policy can install MSI packages across an Active Directory domain. It works best for on-prem devices. Here’s how:

  1. Create a network share containing your MSI installer files.

  2. Open Group Policy Management.

  3. Right-click on the domain or OU you want the Group Policy Object (GPO) applied to, then click Create a GPO in this domain, and Link it here.

    Create the GPO.Creating a new Group Policy Object for software installation in Windows Active Directory

  4. Enter a name for the GPO, then click OK.

  5. Right-click on the newly created GPO, then click Edit.

  6. Go to Computer Configuration > Policies > Software Settings > Software installation.

    Group Policy Management Editor showing Computer Configuration Software installation settings for deploying MSI packages

  7. Click Action > New > Package.

  8. Navigate to the network share that contains the install files, select the MSI files you want to deploy, and click Open.

    Adding an MSI installer package to the Software installation policy in Group Policy Management

  9. Select Assigned and click OK for both packages.

    Group Policy console displaying an assigned MSI software package ready for deployment

Once you apply the policies and restart the selected computers, the applications attached to this policy will install. Group Policy is a great way to deploy packages because it provides granular security access control, and most organizations already use it.

Remember: Ensure your permissions are configured correctly so the appropriate users and devices can access the share.

What is the best way to deploy packages to remote computers? (PDQ Connect)

PDQ Connect is the easiest way to deploy software to remote Windows computers. It uses an agent-based system with a web interface and over 100 prebuilt packages. You can deploy in three steps:

  1. In PDQ Connect, click Packages.

  2. Select the package, then click Deploy.

    PDQ Connect packages list showing available prebuilt software packages

  3. Enter device or group names, then click Deploy again.

    Deploying a software package to remote computers using PDQ Connect

All you need is an internet connection. PDQ Connect also supports custom packages and dynamic device groups.

ConnectIcon CTA

Automate your patching

Keep Windows devices patched and secure from the cloud.

What is the best way to deploy packages to local computers? (PDQ Deploy & Inventory)

PDQ Deploy & Inventory is the easiest way to deploy software to local computers. With over 200 prebuilt packages, most apps install in minutes. Here’s how:

This example uses a prebuilt package and collection in PDQ Deploy & Inventory. Check out our guide on creating custom packages and building custom collections if you need help building your own packages and collections.

  1. In PDQ Deploy, click on Package Library.

  2. Select the package you want to deploy, then click Download Selected (As Auto Download).

    PDQ Deploy Package Library with prebuilt software deployment packages

  3. Right-click the package, then select Deploy Once.

    Deploy Once menu in PDQ Deploy targeting computers from PDQ Inventory collection

  4. Click Choose Targets > PDQ Inventory > Collection.

  5. Filter your search by entering the application name in the search field, then select the collection you want to target.

    PDQ Inventory Collections window showing selected software collection for deployment

  6. The computers in the collection are automatically added to the target list for your deployment. Review the targets, then click Deploy Now.

    PDQ Deploy Deploy Once window displaying selected computers from PDQ Inventory ready for software deployment

In a few minutes, the package will be deployed to the targeted devices.

If you want to get really l̶a̶z̶y̶ fancy, you can even automate your deployments to keep applications updated without manual work.

Which software deployment method should you use?

Choose the method that fits your environment:

  • PowerShell or Group Policy for on-prem scripting and domain installs.

  • PDQ Connect for remote devices.

  • PDQ Deploy & Inventory for local endpoints.

With so many ways to deploy software, the best method depends on your needs (and ensures you never have to leave your office chair). Remember the first rule of IT: Automate everything, socialize never.

Trial PDQ Connect or PDQ Deploy free for 14 days to see which works best for your unique environment.


Deploying software packages FAQs

What is Group Policy?

Group Policy is a Windows management tool that can deploy software across an Active Directory domain.

How does Group Policy work for software installation?

It supports MSI files only, allowing administrators to automatically install or publish applications for users or computers. The process involves creating a Group Policy Object (GPO), linking it to the desired OU, and specifying whether the software is Assigned (mandatory) or Published (optional). The MSI file must be stored in a network-accessible location for deployment.

What is msiexec?

msiexec is the Windows Installer command-line tool used to install, modify, or remove MSI-based software packages. When deploying software with PowerShell or scripts, msiexec /i installs the package, and msiexec /qn runs it silently without user interaction.

Brock Bingham candid headshot
Brock Bingham

Born in the '80s and raised by his NES, Brock quickly fell in love with everything tech. With over 15 years of IT experience, Brock now enjoys the life of luxury as a renowned tech blogger and receiver of many Dundie Awards. In his free time, Brock enjoys adventuring with his wife, kids, and dogs, while dreaming of retirement.

Related articles