Hi Guys
Im really new to PSDT and I need to perform the AppData\Local\Microsoft\Teams folder deletion and remove a registry key before installing my application. The command im using is
Remove-Folder -Path “$envAppData\Local\Microsoft\Teams”
Remove-RegistryKey -Key ‘HKEY_CURRENT_USER\Software\Microsoft\Office\Teams\PreventInstallationFromMsi’
The folder is not being removed any tips on what im missing?