A user creates a file with .ps1 extension in Windows. What type of file is it?
- PowerShell script
- PowerShell cmdlet
- PowerShell function
- PowerShell documentation
Answers Explanation & Hints: 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