CSS Exam 3 Que & Answ 2023/2024
Where does the output appear when you run a script in the PowerShell ISE?
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?
What Power...
Where does the output appear when you run a script in the PowerShell ISE? - ANSW
Console pane
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? - ANSW IntelliSense
What PowerShell ISE keyboard shortcut can be used to run a script immediately? -
ANSW F5
What keyboard shortcut will allow you to launch a script directly from the PowerShell
ISE? - ANSW F5
What specific configurable PowerShell script runs automatically each time the ISE
starts? - ANSW profile
The CD command is used in the command line to change the path of a directory, what
is the equivalent cmdlet in PowerShell? - ANSW Set-Location
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? - ANSW Help
"create file"
What syntax characters in PowerShell indicate optional items? - ANSW brackets
What is an alternative to the Help cmdlet when you need to locate a specific cmdlet? -
ANSW Get-Command
What PowerShell cmdlet will allow you to Select items to remain in a table after filtering
out unwanted items? - ANSW Where-Object
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? - ANSW
-contains
What character can you use to break cmdlets between parameters when using
PowerShell? - ANSW backtick
PowerShell cmdlet parameters will always be preceded by what character? - ANSW
hyphen
, What PowerShell command written with a trace parameter will enable script tracing? -
ANSW Set-PSDebug
When you write a script, what type of line should you include to ensure that the script is
run under the correct shell? - ANSW header line
Before running a script on CentOS 7, what command will you need to modify the scripts
permission? - ANSW chmod
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? - ANSW .sh
If a script is written for use in CentOS 7, how many times should a command line that is
executed multiple times be written? - ANSW only once
CentOS 7 scripts can utilize the if command in two different ways to set up decisions
within scripts. The first format is referred to as "if then fi". What is the second format? -
ANSW if else fi
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? - ANSW while
What command in CentOS 7 can be used in a script to execute a number of instructions
based on a maximum count you specify? - ANSW for in
What is the default PowerShell execution policy? - ANSW restricted policy
What characters in PowerShell represent a dynamic variable that stores the current
information being piped to it? - ANSW $_.
How can a PowerShell ISE user include a suggestion from an IntelliSense menu in their
script? - ANSW double-click the suggestion
What PowerShell cmdlet will allow you to arrange a table in a particular order? - ANSW
Sort-Object
Microsoft's PowerShell Script pane is an "automatic completion" feature that helps you
develop scripts quickly. - ANSW False
Windows commands within PowerShell are as efficient as using an equivalent
PowerShell cmdlet. - ANSW False
To find a cmdlet that obtains process values, use the Get-Command -noun Process
command. - ANSW True
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Certifiedacademics. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.89. You're not tied to anything after your purchase.