Powershell MCQ Questions & Answers

Powershell MCQs : This section focuses on "Basics" of Powershell. These Multiple Choice Questions (MCQ) should be practiced to improve the Powershell skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.

1. Windows PowerShell is a ?

A. command-line shell
B. scripting language
C. Both A and B
D. None of the above

View Answer


2. Windows PowerShell commands, called?

A. cmdlets
B. parser
C. ISE
D. toggle breakpoint

View Answer


3. Which of the following command is used to get child items in powershell?

A. Get-Child
B. Set-Alias
C. Get-Command
D. Get-ChildItem

View Answer


4. What is Powershell Scripting?

A. Type the commands in a text editor
B. Save the file with .ps1 extension
C. Execute the file in PowerShell
D. All of the above

View Answer


5. The developer of Powershell is

A. Dell
B. Microsoft
C. HP
D. IBM

View Answer


6. Point out the wrong statement.

A. Get-Command retrieve basic information about a command
B. Trace-Command trace an expression or command
C. Get-Content delete content from a file
D. None of the above

View Answer


7. In PowerShell ISE, ISE stands for?

A. Inline Scripting Environment
B. Integrated Shell Environment
C. Integrated Scripting Environment
D. None of the above

View Answer


8. ___________ convert object properties into CSV objects.

A. ConvertFrom-CSV
B. Convert-CSV
C. ConvertFromCSV
D. All of the above

View Answer


9. What are the types of format commands that can be used to Format data?

A. Format-Wide
B. Format-List
C. Format-Table
D. All of the above

View Answer


10. Point out the wrong statement.

A. The first PowerShell cmdlet every administrator should learn is Get-Command
B. Get-Event is used to find events in the PowerShell event queue
C. Limit-EventLog is used to limit the size of the event log
D. None of the above

View Answer





Discussion


* You must be logged in to add comment.