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
Exam with this question: Checkpoint Exam: Operating System Overview Group Exam
Exam with this question: 1.5.2 Quiz - The Windows Operating System
Exam with this question: OS and Endpoint Security Checkpoint Exam Answers
Exam with this question: Endpoint Security: My Knowledge Check Answers
Please login or Register to submit your answer