Prepare for the CompTIA PenTest+ Exam. Study with flashcards and multiple choice questions; each comes with hints and explanations. Get ready for your certification!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which option specifies the task name when creating a scheduled task?

  1. /tc

  2. /tr

  3. /tn

  4. /sc

The correct answer is: /tn

When creating a scheduled task, specifying the task name is essential for identifying the task within the Task Scheduler. The correct option indicates that the task name is designated using the "/tn" parameter. This allows system administrators and users to define a specific and recognizable name for the task, facilitating easier management and retrieval of scheduled tasks. In contrast, other options refer to different parameters. The "/tr" option indicates the task to run, specifying the path of the executable or script that should be executed. The "/sc" option is used to set the schedule frequency (for example, daily, weekly, or monthly) for running the task. The "/tc" option is not a standard parameter associated with creating scheduled tasks, which further clarifies the role of the "/tn" parameter in this context.