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
Related exam: Checkpoint Exam: Operating System Overview Group Exam
Related exam: 1.5.2 Quiz - The Windows Operating System
Related exam: Endpoint Security - OS and Endpoint Security Checkpoint Exam Answers
Related exam: Cybersecurity Essentials - Checkpoint Exam: OS and Endpoint Security (Module 7 – 10 Exam)
Related exam: Endpoint Security: My Knowledge Check Answers
