Hi,
During the uninstallation of an application I need to close 2 processes. But the DeploymentType in the MECM Deploymenttype is set to run silently.
Can I use: Show-ADTInstallationWelcome-CloseProcesses @{ Name = 'Process1' }, @{ Name = 'Process2' } -Silent
…or do I have to use:
Stop-Process -Name 'Process1' -Force 4>&1 | Write-ADTLogEntry
Stop-Process -Name 'Process2' -Force 4>&1 | Write-ADTLogEntry
The description mentions:
…but it’s a bit confusing with the Show-ADTInstallationWelcome name of the function, because with the -silent switch, nothing is shown I presume ?
Regards.