Ready to test your Knowledge?
Try out our new practice tests completely free!
exam preparation banner icon

Operating Systems

Computing

Quiz 10 :

Scripting in Windows 10 and Centos 7

Quiz 10 :

Scripting in Windows 10 and Centos 7

search
arrow
What character can you use to break cmdlets between parameters when using PowerShell?
Free
Multiple Choice
Answer:

Answer:

B

arrow
When you write a script, what type of line should you include to ensure that the script is run under the correct shell?
Free
Multiple Choice
Answer:

Answer:

A

arrow
When creating and executing scripts in CentOS 7, you must change the permissions on the file before running the new script.
Free
True False
Answer:

Answer:

True

arrow
PowerShell ISE is an Integrated Scripting Environment that is included with Windows 10.
True False
Answer:
arrow
Microsoft's PowerShell Script pane is an "automatic completion" feature that helps you develop scripts quickly.
True False
Answer:
arrow
What key feature in the PowerShell ISE allows a user to display clickable menus of cmdlets, parameters, parameter values, files, or folders that match the characters you type?
Multiple Choice
Answer:
arrow
What specific configurable PowerShell script runs automatically each time the ISE starts?
Multiple Choice
Answer:
arrow
Where does the output appear when you run a script in the PowerShell ISE?
Multiple Choice
Answer:
arrow
What PowerShell command written with a trace parameter will enable script tracing?
Multiple Choice
Answer:
arrow
What PowerShell cmdlet will allow you to Select items to remain in a table after filtering out unwanted items?
Multiple Choice
Answer:
arrow
What is an alternative to the Help cmdlet when you need to locate a specific cmdlet?
Multiple Choice
Answer:
arrow
When a PowerShell user needs additional help regarding a cmdlet that will create a file, what command syntax can be used to help obtain this information?
Multiple Choice
Answer:
arrow
When using filtering in PowerShell you need to know the comparison operators, what operator allows you to see whether an identical value exists in a list of values?
Multiple Choice
Answer:
arrow
To find a cmdlet that obtains process values, use the Get-Command -noun Process command. Indicate the answer choice that best completes the statement or answers the question.
True False
Answer:
arrow
In CentOS 7 using an extension on script files is optional. However, some Linux system administrators prefer to add a file extension to their scripts. What file extension is commonly used for this purpose?
Multiple Choice
Answer:
arrow
The CD command is used in the command line to change the path of a directory, what is the equivalent cmdlet in PowerShell?
Multiple Choice
Answer:
arrow
How can a PowerShell ISE user include a suggestion from an IntelliSense menu in their script?
Multiple Choice
Answer:
arrow
Windows commands within PowerShell are as efficient as using an equivalent PowerShell cmdlet.
True False
Answer:
arrow
What keyboard shortcut will allow you to launch a script directly from the PowerShell ISE?
Multiple Choice
Answer:
arrow
What command in CentOS 7 can be used in a script to enable multiple executions of a set of instructions while a certain condition exists?
Multiple Choice
Answer:
Showing 1 - 20 of 50