Skip survey header

General Knowledge Practice Quiz: PowerShell Concepts Practice Quiz 1

Enjoy the following 10 question quiz from GoCertify

1. Which of the following will be returned from the command: A,B,C,D -contains 7 ? *This question is required.
2. To see the Boolean status of the last command, you can echo which of the following? *This question is required.
3. What parameter can be placed on variables to prevent them from being overwritten? *This question is required.
4. Which of the following is the output from the command: “evan”,”scott”,”spencer” -join “:” ? *This question is required.
5. Which of the following commands will return the length of the $s variable? *This question is required.
6. Variable $x=”hello” and $y=”world”. What is the result of the following command?

$x,$y = $y,$x
echo $y,$x
7. Which output stream number is associated with warning messages?
8. If $s contains a string value, which of the following will convert the output to lowercase?
9. One of the variables in your script is defined as ReadOnly. What must be used to change its value?
10. If $e = “Get-Help”, what is the operator needed to run the command stored as $e?