Search Header Logo

Fundamentos de PowerShell

Authored by Mariano Rodriguez

Computers

Professional Development

Used 2+ times

Fundamentos de PowerShell
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué es un cmdlet en PowerShell?

Un cmdlet es un comando en PowerShell que realiza una función específica.

Un cmdlet es un script que se ejecuta en PowerShell.

Un cmdlet es una interfaz gráfica en PowerShell.

Un cmdlet es un tipo de archivo en PowerShell.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se crea una variable en PowerShell?

set miVariable = 10

let miVariable = 10

miVariable := 10

$miVariable = 10

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué estructura de control se utiliza para realizar bucles en PowerShell?

if

try-catch

switch

for, foreach, while, do-while

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la sintaxis para ejecutar un cmdlet en PowerShell?

NombreDelCmdlet: Valor -Parámetro

-Parámetro NombreDelCmdlet Valor

NombreDelCmdlet Valor -Parámetro

NombreDelCmdlet -Parámetro Valor

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se asigna un valor a una variable en PowerShell?

$nombreVariable = valor

set nombreVariable to valor

nombreVariable := valor

valor -> nombreVariable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué tipo de estructuras de control existen en PowerShell?

if, else, elseif, switch, for, foreach, while, do while

break, continue

try, catch, finally

function, method

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se puede listar todos los cmdlets disponibles en PowerShell?

Get-Help

Get-Module

Get-Process

Get-Command

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?