ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 503 - 220-1102 discussion

Report
Export

Which of the following file extensions should a technician use for a PowerShell script?

A.
.ps1
Answers
A.
.ps1
B.
.py
Answers
B.
.py
C.
.sh
Answers
C.
.sh
D.
.bat
Answers
D.
.bat
E.
.cmd
Answers
E.
.cmd
Suggested answer: A

Explanation:

A PowerShell script is a plain text file that contains one or more PowerShell commands. Scripts have a .ps1 file extension and can be run on your computer or in a remote session. PowerShell scripts can be used to automate tasks and change settings on Windows devices. To create and run a PowerShell script, you need a text editor (such as Visual Studio Code or Notepad) and the PowerShell Integrated Scripting Environment (ISE) console.You also need to enable the correct execution policy to allow scripts to run on your system

asked 02/10/2024
Neville Raposo
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first