nerdexam
CompTIA

FC0-U61 · Question #575

Which of the following would MOST likely be used to create a one-time script on a Windows server?

The correct answer is A. PowerShell. PowerShell would most likely be used to create a one-time script on a Windows server.

Software Development

Question

Which of the following would MOST likely be used to create a one-time script on a Windows server?

Options

  • APowerShell
  • BC++
  • Ccron
  • DHTTPS

How the community answered

(26 responses)
  • A
    92% (24)
  • B
    4% (1)
  • C
    4% (1)

Why each option

PowerShell would most likely be used to create a one-time script on a Windows server.

APowerShellCorrect

PowerShell is the command-line shell and scripting language native to Windows, providing extensive capabilities for system administration, configuration, and automation. Its deep integration with the Windows operating system and .NET framework makes it the most suitable and powerful tool for creating and executing scripts, including one-off operations, on Windows servers.

BC++

C++ is a compiled programming language typically used for developing applications and system software, not for quick, one-time administrative scripting.

Ccron

`cron` is a job scheduler commonly found on Unix-like operating systems (Linux, macOS) for scheduling recurring tasks, and is not a native Windows tool.

DHTTPS

HTTPS is a secure communication protocol used for transmitting data over the internet, not a tool for creating scripts.

Concept tested: Windows server scripting tools

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

Topics

#Windows scripting#PowerShell#Server administration

Community Discussion

No community discussion yet for this question.

Full FC0-U61 Practice