1 2 3 4 5 6 7 8 | # Crear una directorio New-Item carpeta -ItemType Directory # Acceder al directorio creado anteriormente Set-Location ./carpeta/ # Crear un fichero .txt New-Item fichero.txt -ItemType File # Obtener los archivos con extensión .txt Get-ChildItem *.txt |