====== Test-Path ====== Cette commande permet d'afficher **NOK** si le répertoire **C:\directory** n'existe pas sinon il affichera **OK** : if ((Test-Path C:\directory) -eq $False) {echo NOK} else {echo OK}