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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum