Practice question 99 of 506 · medium
An administrator has a working PowerShell Direct connection and needs to copy two files and run several commands in the same guest context. Which approach best fits?
Choose the single best answer.
Show the answer and explanation
✓ Correct answer
- Create a New-PSSession with VMName and reuse the session
A persistent New-PSSession with VMName retains the Direct guest context and supports repeated session operations and file copying. Public IPs are unnecessary for Direct. Get-VM queries virtualization objects, and host rights do not replace valid guest credentials.
Read and review here, or open the app to practise and save your results on this device.
Unofficial study material, independently written and not affiliated with or endorsed by Microsoft. These are original learning questions, not actual exam questions. Product support and exam scope can change; a practice percentage is not a Microsoft exam scaled score.