Skip to content

PSAppDeployToolkit/PSAppDeployToolkit.Tools

PSAppDeployToolkit.Tools

Enterprise App Packaging, Extended.

PSAppDeployToolkit.Tools is a companion module for PSAppDeployToolkit that provides tools and functions useful during the application packaging process. Having this separate allows for a separate release schedule and also reduces the file size of the module that is required to be delivered to endpoints to handle software deployments.

Features

  • Test-ADTCompatibility - Test your PSAppDeployToolkit v3 scripts to get a full report on which functions and variables have changed in v4.
  • Convert-ADTDeployment - Convert a PSAppDeployToolkit v3 script or an entire package folder to v4 standards.

Getting Started

Install the module from the PowerShell Gallery:

Install-Module PSAppDeployToolkit.Tools -Scope CurrentUser -AllowPreRelease

If this produces an error that the -AllowPreRelease parameter is not recognised, then first update PowerShellGet and then restart your PowerShell console:

Install-Module PowerShellGet -Force -Scope CurrentUser

Alternatively you can import a downloaded copy of the module - however with this approach, you will need to ensure its pre-requisite modules PSAppDeployToolkit and PSScriptAnalyzer are available:

Import-Module "<Path To PSAppDeployToolkit.Tools.psd1>"

Example command usage:

Test-ADTCompatibility -FilePath .\Deploy-Application.ps1 -Format Grid

This example analyzes Deploy-Application.ps1 and outputs the results as a grid view.

Convert-ADTDeployment -Path .\Deploy-Application.ps1

This example converts Deploy-Application.ps1 into Invoke-AppDeployToolkit.ps1 in the same folder.

Convert-ADTDeployment -Path .\PackageFolder

This example converts PackageFolder into PackageFolder_Converted in the same folder.

PSAppDeployToolkit Links

-> Homepage -> Documentation -> Function & Variable References -> Download Latest Release -> News

Community Links

-> Discourse Forum -> Discord Chat -> Reddit

License

The PowerShell App Deployment Tool is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.