Upgrading to 4.0.6 results in duplicate entries for all PowerShell cmdlets in the PowerShell ISE.
# Check if the module is installed
$module = Get-InstalledModule -Name PSAppDeployToolkit -ErrorAction SilentlyContinue
# If the module is installed, uninstall it
if ($module) {
Uninstall-Module -Name PSAppDeployToolkit -AllVersions -Force
Write-Output "The PSAppDeployToolkit module has been uninstalled."
} else {
Write-Output "The PSAppDeployToolkit module is not installed."
}
# Remove the module from the current session if it is loaded
Remove-Module -Name PSAppDeployToolkit -ErrorAction SilentlyContinue
Reinstall
Install-Module -Name PSAppDeployToolkit
In the presentation, you used a different editor. What is it called?
