exam questions

Exam 220-1002 All Questions

View all questions & answers for the 220-1002 exam

Exam 220-1002 topic 1 question 156 discussion

Actual exam question from CompTIA's 220-1002
Question #: 156
Topic #: 1
[All 220-1002 Questions]

Which of the following file types should be opened when executing a PowerShell script?

  • A. .bat
  • B. .vbs
  • C. .sh
  • D. .ps1
  • E. .psd
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Shirkey
Highly Voted 4 years, 10 months ago
ps1 https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/how-to-write-and-run-scripts-in-the-windows-powershell-ise?view=powershell-7
upvoted 10 times
...
MacTPain10
Highly Voted 4 years, 6 months ago
.ps1, which is a powershell script file Best done with Powershell ISE
upvoted 6 times
...
mufa
Most Recent 4 years, 10 months ago
It is vbs.
upvoted 1 times
Brazucano
3 years, 7 months ago
It's not VBS. PowerShell is the answer.
upvoted 4 times
Brazucano
3 years, 7 months ago
PS1* for PowerShell
upvoted 8 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago