Home / CSE MCQs / Powershell ::

CSE MCQs :: Powershell

  1. What is Powershell Scripting?
  2. A.
    Type the commands in a text editor
    B.
    Save the file with .ps1 extension
    C.
    Execute the file in PowerShell
    D.
    All of these

  3. The developer of Powershell is
  4. A.
    Microsoft
    B.
    Dell
    C.
    HP
    D.
    None of these

  5. What are two ways of extending a powershell?
  6. A.
    PSSnapins
    B.
    Modules
    C.
    Both A and B
    D.
    None

  7. What are the types of format commands that can be used to Format data?
  8. A.
    Format-Wide
    B.
    Format-List
    C.
    Format-Table
    D.
    All of the above

  9. What are the types of brackets used in PowerShell?
  10. A.
    Parenthesis Brackets ()
    B.
    Braces Brackets {}
    C.
    Square Brackets []
    D.
    All of the above mentioned

  11. Powershell was introduced in the year of
  12. A.
    2005
    B.
    2006
    C.
    2012
    D.
    2018

  13. Powershell was designed by the
  14. A.
    Jeffrey Snover, Bruce Payette, James Truher
    B.
    Thomson Elder
    C.
    William
    D.
    Andrew Nilson

  15. What are the ways to find all the sql services are on one server in PowerShell?
  16. A.
    get-wmiobject win32_service l where-object {$_name-like sql"}
    B.
    get-service sql
    C.
    Both A and B
    D.
    None

  17. What is the platform of Powershell?
  18. A.
    .NET Framework
    B.
    .NET Core
    C.
    Both A and B
    D.
    All of the above

  19. Powershell Consists of different OS?
  20. A.
    Windows 7
    B.
    Windows Server 2008 R2
    C.
    macOS 10.12
    D.
    Ubuntu
    E.
    All of these