Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

PowerShell Online Test

Topics Covered

  • CredSSP
  • Remoting
  • Find-Commands
  •  Changing states
  • Performing Networking Tasks
  • Scripting with Powershell

Useful for hiring

  • PowerShell Developer
  • PowerShell Engineer
  • BI Analyst- PowerShell

Start hiring job-fit candidates using this assessment

GET A DEMO

"Interview Mocha has provided UNEECOPS with a veritable assessment platform with a comprehensive test library, online test platform, and intelligent reports. This made it easier for us to map different job openings with job-fit candidates and recruit faster."

Nisha Chandila, UNEECOPS,
Talent Acquisition Manager
Question

You have a task to find all correct IP address in text log file with your PowerShell script. Which of the following regex expressions will help you?

Answer
    • '([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}'
       

    • (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}
       

    • ^(([01]?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))\.){3}([01]?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))$
       

    • \d+[.]\d+[.]\d+[.]\d+
       

Question

You have written a script that gathers some file parameters with the following command:

Get-ChildItem –Path -Filter *.mkv -Recurse | Select-Object directoryname, basename, length

After that, you use Export-CSV. At the end of your script, you have to open your CSV file in Excel application. Which command should be used?

Answer
    • of file.csv

    • ii file.csv

    • sf file.csv

    • si file.csv

Question

You have a task to block domain users in OU Managers and subOU’s with last login older than 90 days. You are writing the first part of the script. What should you write after pipe?

$DaysInactive = 90
$InactiveDate = (Get-Date).Adddays(-($DaysInactive))
Get-ADUser -SearchBase "OU=Managers,DC=Domain,DC=com" -Filter * |

Answer
    • | &{ $_.LastLogonDate –lt $InactiveDate }
       

    • | &( $_.LastLogonDate –lt $InactiveDate )
       

    • | %{ $_.LastLogonDate –lt $InactiveDate }
       

    • | %( $_.LastLogonDate –lt $InactiveDate )
       

Test details:

PowerShell skills test will evaluate candidate's practical knowledge and will identify whether the candidate is ready to be employed. PowerShell test can be taken online by candidates from anywhere in the comfort of their time zone.  
 
PowerShell pre-employment test may contain MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, Whiteboard Questions, Audio / Video Questions, True or False.

 
Test Duration: 20 minutes

10 Application Questions

Test description:

PowerShell is called an object-oriented automation engine and a scripting language with an interactive command-line shell that Microsoft had developed to help IT professionals configure systems and automate administrative tasks. Windows PowerShell is designed especially for system administration and its analogue in Linux is called as Bash Scripting. PowerShell is designed to automate system tasks, such as batch processing, and to create systems management tools for commonly implemented processes.
 
PowerShell online test helps technical recruiters and hiring managers to assess candidate’s knowledge about PowerShell scripting. Online PowerShell test is created & validated by experienced industry experts to assess & hire PowerShell developer as per the industry standards.
 
PowerShell assessment test helps to screen the candidates who possess traits as follows: 

1.  Experience with PowerShell Script
2.  Knowledge on exchange managed web services to create Powershell scripts
3.  Strong automation skills using C# programming, PowerShell scripts
4.  Ability to work on Azure powerShell and VSTS
5.  Experience in DevOps processes, tools, strategy and best practices
6.  Knowledge of .NET framework

Our powerful reporting will give you an instant result and an option to share this result with your recruiting team. You can analyse section wise performance of candidate to gauge his/her strengths and weaknesses. Features like window violation and webcam proctoring help detect cheating during the test.

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at support@interviewmocha.com to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO