PowerShell Scripting
PowerShell is a command line interpreter program of Windows built on .NET framework which was developed in November 2006 by Microsoft for automating repetitive tasks like managing users, monitoring system logs and configuration management. Later in August 2016, Microsoft had made PowerShell open source by releasing the source code on GitHub, this version of PowerShell which got a new name of PowerShell core which runs on .NET Core.
Take this assessment to check how good you are with PowerShell.
Click the Rewards tab for eligibility requirements.
Read the FAQs tab carefully for Instructions before beginning the assessment.
NYXPoints are used to generate the Leaderboard (coming soon). They are awarded for achieving a certain score.
- 200 nyxpoints for a passing score of 80% or more
- 300 nyxpoints for a perfect score of 100%
- Didn’t pass? You still get 30 nyxpoints for attempting the assesment
IMPORTANT instructions for taking the Assessment
- The timer starts when you click Start Assessment
- DO NOT refresh/reload the page or use the back button to navigate away from the page.
- Navigating away from the assessment page DOES NOT stop/pause the timer and the will restart the assessment when you come back to it. The answers are NOT saved.
General
- There are NO pre-requisites to take this assessment. Take this assessment even if you are completely new to Linux.
- The assessment is completely FREE.
- Preferably take it in a closed book mode.
- DO NOT copy/paste, share or upload questions elsewhere.
Eligible Rewards
300 NyxCoins*
* NyxCoins vary on score
Assessment Summary
0 of 30 Questions completed
Questions:
Information
You have already completed the assessment before. Hence you can not start it again.
Assessment is loading…
You must sign in or sign up to start the assessment.
You must first complete the following:
Results
Results
0 of 30 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 30
1. Question
What is PowerShell ISE?
CorrectIncorrect -
Question 2 of 30
2. Question
The commands in PowerShell is called as __________ .
CorrectIncorrect -
Question 3 of 30
3. Question
Which of the following are the execution policies in PowerShell?
CorrectIncorrect -
Question 4 of 30
4. Question
Microsoft has a policy which stops the user to create scripts in PowerShell and is the default execution policy set in PowerShell
CorrectIncorrect -
Question 5 of 30
5. Question
What command in PowerShell helps in displaying all the running processes?
CorrectIncorrect -
Question 6 of 30
6. Question
___________is the extension of a file created in PowerShell ISE.
CorrectIncorrect -
Question 7 of 30
7. Question
Which cmdlet is used to suspend the execution of a PowerShell script or command until a specified condition is met?
CorrectIncorrect -
Question 8 of 30
8. Question
In PowerShell, what is the purpose of the Get-Content cmdlet?
CorrectIncorrect -
Question 9 of 30
9. Question
In PowerShell, which cmdlet is used to schedule tasks to run executable files at specific times or intervals in local computer?
CorrectIncorrect -
Question 10 of 30
10. Question
To get a list of all running services on a remote computer named “thinknyxServer” which option should you use with Get-Service?
CorrectIncorrect -
Question 11 of 30
11. Question
Which cmdlet is used to list all virtual machines in your AWS EC2 instance?
CorrectIncorrect -
Question 12 of 30
12. Question
What PowerShell cmdlet is used to start a virtual machine in Azure?
CorrectIncorrect -
Question 13 of 30
13. Question
What cmdlet is used to restart a virtual machine in AWS?
CorrectIncorrect -
Question 14 of 30
14. Question
What is the primary purpose of PowerShell?
CorrectIncorrect -
Question 15 of 30
15. Question
In PowerShell, what cmdlet is used to create a new directory (folder)?
CorrectIncorrect -
Question 16 of 30
16. Question
What is the purpose of the $PSDefaultParameterValues variable in PowerShell?
CorrectIncorrect -
Question 17 of 30
17. Question
Which cmdlet is used to list all installed modules in PowerShell?
CorrectIncorrect -
Question 18 of 30
18. Question
In PowerShell, what is the purpose of the $ErrorActionPreference variable?
CorrectIncorrect -
Question 19 of 30
19. Question
How can you pause the execution of a script or command in PowerShell?
CorrectIncorrect -
Question 20 of 30
20. Question
What is the purpose of the $_ variable in PowerShell?
CorrectIncorrect -
Question 21 of 30
21. Question
Which approach would you use to enable an execution policy through PowerShell?
CorrectIncorrect -
Question 22 of 30
22. Question
What is the purpose of the RemoteSigned execution policy in PowerShell?
CorrectIncorrect -
Question 23 of 30
23. Question
Which type of PowerShell brackets are used for specifying optional items?
CorrectIncorrect -
Question 24 of 30
24. Question
Which statement is true regarding Write-Output and Write-Host in PowerShell?
CorrectIncorrect -
Question 25 of 30
25. Question
What is the primary purpose of using hash tables in PowerShell?
CorrectIncorrect -
Question 26 of 30
26. Question
How do you define an array in PowerShell?
CorrectIncorrect -
Question 27 of 30
27. Question
How can you assign a variable to store and display the current date and time in PowerShell?
CorrectIncorrect -
Question 28 of 30
28. Question
What are the types of format commands that can be used to format data in the output of PowerShell cmdlets?
CorrectIncorrect -
Question 29 of 30
29. Question
_________ cmdlet is used to check windows features which are installed.
CorrectIncorrect -
Question 30 of 30
30. Question
Which Powershell cmdlet is used to list all Powershell commands for a particular module?
CorrectIncorrect