A user creates a file with a .ps1 extension in Windows. What type of file is it?

Questions BankCategory: CCNA CyberOpsA user creates a file with a .ps1 extension in Windows. What type of file is it?
ITExamAnswers Staff asked 2 months ago
A user creates a file with a .ps1 extension in Windows. What type of file is it?

  • PowerShell cmdlet
  • PowerShell function
  • PowerShell documentation
  • PowerShell script

Explanation: The types of commands that PowerShell can execute include the following:
Cmdlets: Perform an action and return an output or object to the next command that will be executed
PowerShell scripts: Files with a .ps1 extension that contain PowerShell commands that are executed
PowerShell functions: Pieces of code that can be referenced in a script

More Questions: CCNA Cyber Ops (v1.1) – Chapter 2 Exam Answers


Related Articles