Bird
0
0

Which parameter is required to specify the remote computer name when using Enter-PSSession?

easy📝 Conceptual Q2 of 15
PowerShell - Remote Management
Which parameter is required to specify the remote computer name when using Enter-PSSession?
A-FilePath
B-Session
C-Credential
D-ComputerName
Step-by-Step Solution
Solution:
  1. Step 1: Identify the parameter for remote computer

    The -ComputerName parameter is used to specify the target remote computer for the session.
  2. Step 2: Eliminate other parameters

    -Session is for existing sessions, -Credential is for user credentials, and -FilePath is unrelated here.
  3. Final Answer:

    -ComputerName -> Option D
  4. Quick Check:

    Remote computer = -ComputerName [OK]
Quick Trick: Use -ComputerName to specify remote PC [OK]
Common Mistakes:
  • Using -Session instead of -ComputerName
  • Confusing -Credential with computer name
  • Trying to use -FilePath for remote target

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes