Practice question 57 of 506 · easy
An administrator wants to run the same read-only service query on ten Windows servers and collect results. Which command is the most direct fit?
Choose the single best answer.
Show the answer and explanation
✓ Correct answer
- Invoke-Command with the server list and a Get-Service script block
Invoke-Command runs the query on the specified remote computers and returns results. Enter-PSSession creates a single interactive session; local Get-Service examines the local host. Creating sessions alone does not execute the requested query.
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.