Which command-line utility displays a list of computers in a specified workgroup or shared resources available on a specified computer?

Prepare for the Certified Ethical Hacker Version 11 Exam with a comprehensive test featuring flashcards and multiple choice questions, each accompanied by hints and explanations to ensure a thorough understanding. Ace your ethical hacking exam with confidence!

Multiple Choice

Which command-line utility displays a list of computers in a specified workgroup or shared resources available on a specified computer?

Explanation:
Discovering computers and their shared resources on a Windows network using a command-line tool. Net view is the best fit. Running it without arguments lists computers in your current workgroup. If you specify a computer name, like net view \\TARGET, it returns the shared resources published by that machine (such as administrative shares and other shares). This makes it a straightforward way to see who’s on the network and what they’re sharing. PsInfo focuses on pulling system details from a target, not a list of machines or shares. SNMP enumeration covers gathering information via SNMP, but there isn’t a single built-in command named for listing workgroup computers or a target’s shares. PsLogList reads event logs, which isn’t useful for discovering computers or their shares.

Discovering computers and their shared resources on a Windows network using a command-line tool.

Net view is the best fit. Running it without arguments lists computers in your current workgroup. If you specify a computer name, like net view \TARGET, it returns the shared resources published by that machine (such as administrative shares and other shares). This makes it a straightforward way to see who’s on the network and what they’re sharing.

PsInfo focuses on pulling system details from a target, not a list of machines or shares. SNMP enumeration covers gathering information via SNMP, but there isn’t a single built-in command named for listing workgroup computers or a target’s shares. PsLogList reads event logs, which isn’t useful for discovering computers or their shares.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy