Comandos de cmd vs PowerShell

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

¿Cuál es el comando para fijar el valor de una variable en PowerShell?

  • Set-Item
  • Update-Value
  • New-Variable
  • Set-Variable (correct)

¿Qué tipo de estructura de datos en PowerShell es de tamaño fijo y crea un nuevo arreglo con los elementos finales cada vez que se agrega o elimina un elemento?

  • Array (correct)
  • HashTable
  • LinkedList
  • ArrayList

¿Qué comando se utiliza para obtener (o accesar) el valor de una variable en PowerShell?

  • Get-Variable (correct)
  • Read-Variable
  • $get_variable
  • $value

'$LASTEXITCODE' recibe el valor de salida que se recibió de una ejecución de qué en PowerShell?

<p>Una aplicación externa (A)</p> Signup and view all the answers

'$color = 'blue'' ¿Qué tipo de dato representa 'blue' en este contexto en PowerShell?

<p>$blue es una cadena de caracteres (D)</p> Signup and view all the answers

Flashcards are hidden until you start studying

More Like This

Use Quizgecko on...
Browser
Browser