Powershell conditionals

From wikinotes
if ($PATH[0] -ne 'C:\Python27') { ... }              # if statement

if (!( $PATH.Contains('C:\Python27') )){ ... }       # if not statement