j'ai des erreurs à l'installation du paquet remove-windows-appx sur une petite partie de mon parc. Existe-t'il un équivalent du "run_notfatal" pour powershell ?
Exemple :
If needed, removing: Microsoft.BingSports
If needed, removing: Microsoft.BingWeather
Traceback (most recent call last):
File "C:\wapt\common.py", line 3876, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\waptyl5ecp\setup.py", line 93, in install
File "C:\wapt\setuphelpers_windows.py", line 840, in run_powershell
raise CalledProcessErrorOutput(e.returncode,cmd,e.output)
CalledProcessErrorOutput: Command u'$ProgressPreference = "SilentlyContinue"\n(Get-AppXProvisionedPackage -Online | where DisplayName -EQ "Microsoft.BingWeather" | Remove-AppxProvisionedPackage -Online) | ConvertTo-Json' returned non-zero exit status 1.
Output:#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><S S="Error">Remove-AppxProvisionedPackage : Le chemin d'acc\xe8s sp\xe9cifi\xe9 est introuvable._x000D__x000A_</S><S S="Error">Au caract\xe8re Ligne:2 : 87_x000D__x000A_</S><S S="Error">+ ... icrosoft.BingWeather" | Remove-AppxProvisionedPackage -Online) | Conv ..._x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error"> + CategoryInfo : NotSpecified: (:) [Remove-AppxProvisionedPackage], COMException_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : Microsoft.Dism.Commands.RemoveAppxProvisionedPackageCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>
CalledProcessErrorOutput: Command u'$ProgressPreference = "SilentlyContinue"\n(Get-AppXProvisionedPackage -Online | where DisplayName -EQ "Microsoft.BingWeather" | Remove-AppxProvisionedPackage -Online) | ConvertTo-Json' returned non-zero exit status 1.
Output:#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><S S="Error">Remove-AppxProvisionedPackage : Le chemin d'accès spécifié est introuvable._x000D__x000A_</S><S S="Error">Au caractère Ligne:2 : 87_x000D__x000A_</S><S S="Error">+ ... icrosoft.BingWeather" | Remove-AppxProvisionedPackage -Online) | Conv ..._x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error"> + CategoryInfo : NotSpecified: (:) [Remove-AppxProvisionedPackage], COMException_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : Microsoft.Dism.Commands.RemoveAppxProvisionedPackageCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>