How do you discover a command when you know the task but not the cmdlet name?
Documentation: Microsoft Learn
Interview · Question 19 of 34
Answer before reveal
Your draft
Write the answer you would give in an interview. The model answer stays hidden until you have drafted at least a short response.
A strong answer
Use Get-Command with Verb, Noun, Module or wildcard filters, then inspect Get-Help examples and syntax before running anything that changes state.
Show it concretely
Expect this follow-up
What would you inspect if two modules export commands with the same name?
Primary documentation
Get-Help reference · Get-Command reference · Get-Service reference