The Get-AppCatResult PowerShell script (Get-AppCatResult.ps1) is a tool for analyzing .NET applications and assessing their readiness for deployment to various target environments. It leverages the appcat command-line tool to perform the analysis.
The script accepts the following named parameters:
C:\path\to\your\project.sln.Any, AppService.Linux, AppService.Windows, AppServiceContainer.Linux, AppServiceContainer.Windows, ACA, AKS.Linux, AKS.Windows. Default value: Any.C:\appcat.json, csv, html. Default value: html.Solution, Folder, IISServer. Default value: IISServer.Ensure the following dependencies are installed and configured:
appcat command-line tool is available in the system’s PATH or provide the full path to the executable in the script.appcat tool.
Azure Migrate application and code assessment for .NET is also available as a .NET global tool. You can install the tool with the following command.
dotnet tool install -g dotnet-appcat
Similarly, to update the tool, use the following command:
dotnet tool update -g dotnet-appcat
.\Get-AppCatResult.ps1 -Source "Solution" -Path "C:\path\to\your\project.sln" -Target "AppService.Linux"
.\Get-AppCatResult.ps1 -Source "Solution" -Path "C:\path\to\your\project.sln" -Target "AppService.Windows"
.\Get-AppCatResult.ps1 -Source "Solution" -Path "C:\path\to\your\project.sln" -Target "AppServiceContainer.Linux"
.\Get-AppCatResult.ps1 -Source "Solution" -Path "C:\path\to\your\project.sln" -Target "AppServiceContainer.Windows"
.\Get-AppCatResult.ps1 -Source "Solution" -Path "C:\path\to\your\project.sln" -Target "ACA"
.\Get-AppCatResult.ps1 -Source "Solution" -Path "C:\path\to\your\project.sln" -Target "AKS.Linux"
.\Get-AppCatResult.ps1 -Source "Solution" -Path "C:\path\to\your\project.sln" -Target "AKS.Windows"
.\Get-AppCatResult.ps1 -Source "Solution" -Path "C:\path\to\your\project.sln" -Target "Any"
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "AppService.Linux"
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "AppService.Windows"
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "AppServiceContainer.Linux"
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "AppServiceContainer.Windows"
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "ACA"
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "AKS.Linux"
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "AKS.Windows"
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "Any"
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "AppService.Linux" -IncludeChildFolders
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "AppService.Windows" -IncludeChildFolders
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "AppServiceContainer.Linux" -IncludeChildFolders
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "AppServiceContainer.Windows" -IncludeChildFolders
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "ACA" -IncludeChildFolders
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "AKS.Linux" -IncludeChildFolders
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "AKS.Windows" -IncludeChildFolders
.\Get-AppCatResult.ps1 -Source "Folder" -Path "C:\path\to\your\folder" -Target "Any" -IncludeChildFolders
.\Get-AppCatResult.ps1
.\Get-AppCatResult.ps1 -Source "IISServer" -Target "AppService.Linux"
.\Get-AppCatResult.ps1 -Source "IISServer" -Target "AppService.Windows"
.\Get-AppCatResult.ps1 -Source "IISServer" -Target "AppServiceContainer.Linux"
.\Get-AppCatResult.ps1 -Source "IISServer" -Target "AppServiceContainer.Windows"
.\Get-AppCatResult.ps1 -Source "IISServer" -Target "ACA"
.\Get-AppCatResult.ps1 -Source "IISServer" -Target "AKS.Linux"
.\Get-AppCatResult.ps1 -Source "IISServer" -Target "AKS.Windows"
.\Get-AppCatResult.ps1 -Source "IISServer" -Target "Any"
.\Get-AppCatResult.ps1 -Source "IISServer" -IISSiteName "Site1,Site2" -Target "AppService.Linux"
.\Get-AppCatResult.ps1 -Source "IISServer" -IISSiteName "Site1,Site2" -Target "AppService.Windows"
.\Get-AppCatResult.ps1 -Source "IISServer" -IISSiteName "Site1,Site2" -Target "AppServiceContainer.Linux"
.\Get-AppCatResult.ps1 -Source "IISServer" -IISSiteName "Site1,Site2" -Target "AppServiceContainer.Windows"
.\Get-AppCatResult.ps1 -Source "IISServer" -IISSiteName "Site1,Site2" -Target "ACA"
.\Get-AppCatResult.ps1 -Source "IISServer" -IISSiteName "Site1,Site2" -Target "AKS.Linux"
.\Get-AppCatResult.ps1 -Source "IISServer" -IISSiteName "Site1,Site2" -Target "AKS.Windows"
.\Get-AppCatResult.ps1 -Source "IISServer" -IISSiteName "Site1,Site2" -Target "Any"

If you have any questions or suggestions, feel free to contact me at talk2rana@gmail.com.