Filters
Question type

Study Flashcards

Match each item with a statement below. -In PowerShell, the pane where cmdlets are typed to create scripts


A) clear typing
B) formatting
C) parse error display
D) script-level tracing
E) while
F) sorting
G) tracing
H) Console pane
I) RemoteSigned
J) Script pane

Correct Answer

verifed

verified

What keyboard shortcut will allow you to launch a script directly from the PowerShell ISE?


A) F5
B) F3
C) Ctrl+L
D) Ctrl+S

Correct Answer

verifed

verified

Explain the concept of using script parameters in CentOS 7?

Correct Answer

verifed

verified

Script parameters can contain any inform...

View Answer

Match each item with a statement below. -A command in CentOS 7 that enables you to execute a group of statements a specified number of times


A) clear typing
B) formatting
C) parse error display
D) script-level tracing
E) while
F) sorting
G) tracing
H) Console pane
I) RemoteSigned
J) Script pane

Correct Answer

verifed

verified

Match each item with a statement below. -A PowerShell technology controlled by the Set-PSDebug cmdlet


A) clear typing
B) formatting
C) parse error display
D) script-level tracing
E) while
F) sorting
G) tracing
H) Console pane
I) RemoteSigned
J) Script pane

Correct Answer

verifed

verified

The CD command is used in the command line to change the path of a directory, what is the equivalent cmdlet in PowerShell?


A) Move-Directory
B) Get-Location
C) Set-Location
D) Edit-Directory

Correct Answer

verifed

verified

Match each item with a statement below. -a technique that minimizes errors by consistently observing typing rules


A) clear typing
B) formatting
C) parse error display
D) script-level tracing
E) while
F) sorting
G) tracing
H) Console pane
I) RemoteSigned
J) Script pane

Correct Answer

verifed

verified

PowerShell cmdlet parameters will always be preceded by what character?


A) underscore
B) backtick
C) hyphen
D) slash

Correct Answer

verifed

verified

What PowerShell ISE keyboard shortcut can be used to run a script immediately?


A) F7
B) F5
C) Ctrl+R
D) Alt+R

Correct Answer

verifed

verified

When you write a script, what type of line should you include to ensure that the script is run under the correct shell?


A) header line
B) shell id
C) location line
D) debug line

Correct Answer

verifed

verified

A

Match each item with a statement below. -commands that establish a layout for data


A) clear typing
B) formatting
C) parse error display
D) script-level tracing
E) while
F) sorting
G) tracing
H) Console pane
I) RemoteSigned
J) Script pane

Correct Answer

verifed

verified

What character can you use to break cmdlets between parameters when using PowerShell?


A) ampersand
B) backtick
C) asterisk
D) underscore

Correct Answer

verifed

verified

Match each item with a statement below. -In PowerShell, the red lines in the Console pane that indicate an error has occurred


A) clear typing
B) formatting
C) parse error display
D) script-level tracing
E) while
F) sorting
G) tracing
H) Console pane
I) RemoteSigned
J) Script pane

Correct Answer

verifed

verified

C

Match each item with a statement below. -In the PowerShell ISE, a pane where cmdlets are typed for execution and the script output appears


A) clear typing
B) formatting
C) parse error display
D) script-level tracing
E) while
F) sorting
G) tracing
H) Console pane
I) RemoteSigned
J) Script pane

Correct Answer

verifed

verified

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?


A) -identical
B) -exist
C) -contains
D) -le

Correct Answer

verifed

verified

Why must a CentOS 7 administrator change the permissions on their script to enable it to run?

Correct Answer

verifed

verified

When you are creating and executing shel...

View Answer

How can a PowerShell ISE user include a suggestion from an IntelliSense menu in their script?


A) highlight the suggestion
B) double-click the suggestion
C) press F3
D) press and hold f3

Correct Answer

verifed

verified

B

What is an alternative to the Help cmdlet when you need to locate a specific cmdlet?


A) Get-Command
B) Help-Command
C) Get-Help
D) Alt-Help

Correct Answer

verifed

verified

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?


A) for in
B) if
C) while
D) chmod

Correct Answer

verifed

verified

Match each item with a statement below. -A feature in PowerShell that indicates the flow of statements in an executed script


A) clear typing
B) formatting
C) parse error display
D) script-level tracing
E) while
F) sorting
G) tracing
H) Console pane
I) RemoteSigned
J) Script pane

Correct Answer

verifed

verified

Showing 1 - 20 of 50

Related Exams

Show Answer