Search Header Logo

Preguntas sobre PowerShell (Sesión 1)

Authored by rafa osa

Other

1st Grade

Used 4+ times

Preguntas sobre PowerShell (Sesión 1)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se crea un archivo en PowerShell?

new-file

ni

touch

create-file

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué comando en PowerShell permite mover o renombrar archivos y carpetas?

mv

cp

ls

rm

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se copia una carpeta junto con su contenido?

cp -Recurse

copy -all

mv -all

ls -s

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál de los siguientes scripts movería un archivo llamado "documento.txt" a la carpeta "Backup"?

mv documento.txt Backup/

Move-Item documento.txt Backup/

copy documento.txt Backup/

rename documento.txt Backup/

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se muestra el contenido de un archivo en PowerShell?

cat archivo.txt

show archivo.txt

read archivo.txt

type archivo.txt

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué comando muestra el contenido de una carpeta y sus subcarpetas?

ls -s

dir -s

Get-ChildItem -Recurse

pwd

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se elimina un archivo en PowerShell, aunque tenga atributo de solo lectura?

Remove-Item archivo.txt -Force

Delete-Item archivo.txt

rm archivo.txt -f

erase archivo.txt -force

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?