Powershell Flashcards

1
Q

What are the four categories of commands in PS?

A

cmdlets, functions, scripts and native Win32 executables.

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

What is a function?

A

Is a named piece of PS script code that lives in memory while the interpreter is running and discarded on exit.

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

What is a script?

A

Script command is a piece of PS code that lives in a text file with a .ps1 extension. These script files are loaded and parsed every time they’re run.

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

What is a cmdlet?

A

Is a term specific to the PS environment.

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

What is a native command?

A

These are external programs that can be executed by the operating system.

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