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

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

  • PowerShell function
  • PowerShell cmdlet
  • 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: Modules 3 – 4: Operating System Overview Group Exam

[kkstarratings force="false" valign="bottom" align="left"]

Related Articles