Quand je fais sur mon site azur koudou cmd:ne peut pas exécuter le script Powershell 5.0 comme webjob azur
$PSVersionTable.PSVersion
je reçois 4.0 pour Powershell.
Je veux extraire un fichier zip mais je reçois cette erreur de mon webjob fichier journal:
[02/02/2017 21:37:20 > b2afe2: ERR ] + Expand-Archive $output -DestinationPath $env:WEBROOT_PATH
[02/02/2017 21:37:20 > b2afe2: ERR ] + ~~~~~~~~~~~~~~
[02/02/2017 21:37:20 > b2afe2: ERR ] + CategoryInfo : ObjectNotFound: (Expand-Archive:String) [], Comm
[02/02/2017 21:37:20 > b2afe2: ERR ] andNotFoundException
[02/02/2017 21:37:20 > b2afe2: ERR ] + FullyQualifiedErrorId : CommandNotFoundException
[02/02/2017 21:37:20 > b2afe2: ERR ]
[02/02/2017 21:37:20 > b2afe2: SYS INFO] Status changed to Success
Eh bien Expand-Archive a besoin powershell 5.0 mais comment puis-je mettre à jour que sur mon site d'azur?
merci, c'est précieux – 4c74356b41
merci aussi, alors je vais regarder le mars 2017 ;-) – Pascal