1 2 3 4 5 | #El fichero valores tiene un valor por línea 40, 90, 100 gc D:\valores.txt | %{ #Mostrar el valor cuando es menor de 50 if($_ -lt 50){$_} } |
1 2 3 4 5 | #El fichero valores tiene un valor por línea 40, 90, 100 gc D:\valores.txt | %{ #Mostrar el valor cuando es menor de 50 if($_ -lt 50){$_} } |