pas de vérification nul dans la variable PowerShell
if (!$variablename) { Write-Host "variable is null" }
if ($variablename) { Write-Host "variable is NOT null" }
Fancy Flatworm