nerdexam
Microsoft

98-349 · Question #1

PowerShellis used to:

The correct answer is C. automate a routine task. PowerShell is a powerful command-line shell and scripting language used for automating tasks and managing Windows systems. Its primary function is to enable efficient configuration and operation through scripting.

Understanding Operating System Configurations

Question

PowerShellis used to:

Options

  • Amonitor user keystrokes.
  • Brepair damaged hard disk drive sectors.
  • Cautomate a routine task.
  • Dextend the life of the battery.

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    5% (2)
  • C
    89% (34)
  • D
    3% (1)

Why each option

PowerShell is a powerful command-line shell and scripting language used for automating tasks and managing Windows systems. Its primary function is to enable efficient configuration and operation through scripting.

Amonitor user keystrokes.

While PowerShell can interact with system processes, it is not designed or commonly used as a tool for covertly monitoring user keystrokes; dedicated surveillance software would be used for such a purpose.

Brepair damaged hard disk drive sectors.

PowerShell can interact with disk management utilities, but directly repairing damaged hard disk drive sectors is typically a low-level operation handled by specialized disk utilities or firmware, not a primary function of PowerShell itself.

Cautomate a routine task.Correct

PowerShell's core design allows users to write scripts and commands (cmdlets) to perform a wide range of administrative tasks, making it ideal for automating routine operations like user management, service control, or file system manipulation. Its scripting capabilities significantly reduce manual effort for repetitive actions.

Dextend the life of the battery.

PowerShell can query battery status and manage power settings, but its direct use does not extend the physical life of a battery; battery life is influenced by usage patterns and hardware factors.

Concept tested: PowerShell scripting and automation capabilities

Source: https://learn.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.4

Topics

#PowerShell#automation#scripting

Community Discussion

No community discussion yet for this question.

Full 98-349 Practice