Multiple choice technology

Which command is used to set the current location in Windows PowerShell?

  1. Get-Location

  2. Push-Location

  3. Pop-Location

  4. Set-Location

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Set-Location (cd) changes the current directory or location. Get-Location (pwd) displays the current location, while Push-Location and Pop-Location manage a directory stack for navigation history.