Going with (C) on the assumption it's a typo meant for "sc.exe" (Service Control Manager)
* "sc" (alias for Set-Content) cannot create new services, "set-service", "services.msc", and "net" only modify existing services and objects.
The command that would most likely be used to register a new service on a Windows OS is "sc".
"sc" is a command-line utility that is used to manage Windows services. It can be used to create, modify, start, stop, and delete services, among other things. The "create" command in particular is used to create a new service.
The other options listed (A, B, and D) are not used specifically for registering new services. "set-service" is used to modify the settings of an existing service, "net" is used for managing network resources, and "services.msc" is a graphical user interface (GUI) tool for managing services.
The SC command is used to configure, query, stop, start, delete, and add system services on the Windows command line. Most of the SC command subcommands apply equally to drivers. If you have the appropriate permissions, the SC command can be used to manage services on both the local and remote systems.
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Stache
1 week agogingasaurusrex
2 months, 3 weeks agoTPPASS
3 months ago