ADV PROG DAY 6 Flashcards

1
Q

Displays all commands that are installed on the computer, including cmdlets, aliases, functions, filters, scripts, and applications

A

Get-Command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Displays information about PowerShell concepts and commands, including cmdlets, functions,aliases, and scripts.

A

Get-Help

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Displays the members, properties, and methods of objects.

A

Get-Member

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Displays the aliasesavailablein the current session.

A

Get-Alias

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Displays objects that represent the services on a computer, including running and stopped services.

A

Get-Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Displays a list of all active processes running on the local computer.

A

Get-Process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Displaysthe items in one or more specified locations.

A

Get-Childitem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Displays the content of the item at the location specified by the path,such as the text in a file or the content of a function.

A

Get-Content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Sends pings to one or more remote computers and returns the echo response replies.

A

Test-Connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Determines whether all elements of a path exist.

A

Test-Path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Reads a line ofinput from the console.

A

Read-Host

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Sends a specified object to the host/screen.

A

Write-Host

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Sends a specified object down the pipeline to the next command.

A

Write-Output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Selects objects that have particular property values from the collection of objects that are passed to it

A

Where-Object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Sorts objects in ascending or descending order based on object property values

A

Sort-Object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The search expression is written between a set of curly braces.

A

Where Clause

{ }

17
Q

Automatically references each object passed to the Where-Object cmdlet via the pipeline. Being an object itself, individual properties can be referenced to build the filter by using the dot $_.

A

Default Object

$_

18
Q

Refers to an argument or operator to perform a Boolean or regular expression match.

A

Comparison

19
Q

Can refer to a numerical value for a Boolean expression or a regular expression string.

A

value

20
Q

variables method to identify the data type for a variable.

A

GetType()

21
Q

Substitutes variable and escaped characters with their actual values.

A

Double Quotes

22
Q

Makes everything literal so the values of the variables and the escape characters are not substituted.

A

Single Quotes