Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing



Question - 1

What is the significance of Braces Brackets {}

  • These types of brackets used to define the optional items.
  • These types of brackets are used in the blocked statements.
  • These brackets are used for required arguments.
  • None of these
Solutions
Question - 2

PowerShell 1 scripts have the .ps1 extension. What extension do PowerShell 3 scripts have?

  • .ps3
  • .ps2
  • .ps1
  • None of the Above
Solutions
Question - 3

How are 0 and 1 treated in logical expressions?

  • PowerShell treats the numbers 0 and 1 like False and True.
  • PowerShell treats the numbers 0 and 1 differently from False and True.
  • PowerShell treats 0 as False and -1 as True.
  • None of the above.
Solutions
Question - 4

PowerShell passes objects from one command to another via what?

  • IRC
  • E-mail
  • The pipeline
  • None of the above
Solutions
Question - 5

 PowerShell is:

  • An interactive management shell
  • A flexible and simple scripting language
  • Something your job will eventually require
  • All of the above
Solutions
Question - 6

PowerShell is often referred to as what?

  • An object oriented shell built on the .NET Framework
  • A clam shell
  • A band shell
  • none of the above
Solutions
Question - 7

___________ convert object properties into CSV objects.

  • ConvertFrom-CSV
  • Convert-CSV
  • ConvertFromCSV
  • All the above
Solutions
Question - 8

PowerShell uses what naming convention to make its cmdlets easier to learn?

  • Subject-Predicate
  • Alphanumeric
  • Verb-Noun
  • Emoji
Solutions
Question - 9

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

  • Get-Child
  • Set-Alias
  • Get-Command
  • Get-ChildItem
Solutions
Question - 10

What are some of the ways you can see the properties and methods available to a PowerShell command?

  • Assign an object to a variable and use dotted notation
  • Use the PowerShell ISE application
  • Pipe a cmdlet to Get-Member
  • All of the above
Solutions
Question - 11

What PowerShell cmdlet should you use to get help with other commands?

  • /?
  • -help
  • telnet towel.blinkenlights.nl
  • Get-Help
Solutions
Question - 12

Code for creating an HTML report that lists the name of each service along with its status is :

  • Get-Ser | ConvertTo-HTML -Property Name, Status > C:services.htm
  • Get-Service | Property Name, Status > C:services.htm
  • Get-Service | ConvertTo-HTML -Property Name, Status > C:services.htm
  • All of the mentioned
Solutions
Question - 13

What paradigm does Windows PowerShell belong to?

  • Concurrent programming language
  • Constraint programming
  • Functional programming
  • Dataflow
Solutions
Question - 14

PowerShell cmdlets follow what naming convention which makes them easy to learn?

  • Boy-Girl
  • Love::Hate
  • Verb-Noun
  • None of the Above
Solutions
Question - 15

What can you type in PowerShell to find out more information about a particular command?

  • Oh magic genie
  • help
  • please
  • None of the above
Solutions
Question - 16

The basic command element in PowerShell is what?

  • A batch file
  • A cmdlet
  • A prayer
  • all of the above
Solutions
Question - 17

Windows PowerShell script files use which of the following file extensions?

  • .wps
  • .ps1
  • .shl
  • .cmd
Solutions
Question - 18

Which of the following Windows versions does NOT support Windows PowerShell?

  • Windows 2000
  • Windows XP SP2
  • Windows Vista
  • Windows Server 2003 SP1
Solutions
Question - 19

Which one is a method by which input of pipeline works

 

  • ByValue
  • PSSnapins
  • Modules
  • None of the above
Solutions
Question - 20

Which one is not a Comparison operator in PowerShell?

  • Equality Comparison Operator
  • Match Comparison Operator
  • Do Comparison Operator
  • Containment Comparison Operator
Solutions
Tags:
Powershell MCQ (Multiple Choice Questions), Advanced Powershell MCQ, Powershell MCQ Online test,Powershell MCQ Questions and answers PDF, Powershell Interview Questions With Answers, Powershell Technical Questions with full explanation