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
Exam with this question: CCNA Cyber Ops (v1.1) – Chapter 2 Exam Answers
Please login or Register to submit your answer