MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

SQL

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
PowerShell scripts are saved with which extension
A
.ps1
B
.sql
C
.cmd
D
None of the above
Explanation: 

Detailed explanation-1: -PowerShell scripts have a . ps1 file extension. Running a script is a lot like running a cmdlet. You type the path and file name of the script and use parameters to submit data and set options.

Detailed explanation-2: -PS1 is one of the few variables used by the shell to generate the prompt. As explained in the bash manual, PS1 represents the primary prompt string (hence the “PS”)-which is what you see most of the time before typing a new command in your terminal.

There is 1 question to complete.