MS-07-P1 PowerShell Flashcards

1
Q

A command line interface from Microsoft. used for task automation, configuration management an script creation. current version is 5.1

A

PowerShell

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

The “arnold Swarzzenegrer version of the command line

A

PowerShell

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

Provides full access to the system, including Active Directory, for the performance of administrative tasks. Similar to CMD

A

PowerShell

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

Task-based command line vs command-line interpreter for Windows

A

PowerShell vs CMD

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

Object oriented vs String-based

A

PowerShell vs CMD

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

Newest version of PowerShell

A

PowerShell 7

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

Get, Set, Add, Clear, Write and Read

A

PowerShell syntax

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

this cmdlet displays information about PowerShell concepts and commands

A

Get-Help

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

Determine if you can load configuration files (such as PowerShell profiles) and run scripts

A

Execution Policies

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

Command line for execution policy

A

Set-ExecutionPolicy -exec bypass

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

Information can be filtered using parameters

A

Output Filtering

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

This cmdlet selects objects with specific property values from a collection of objects. Shows only services that are running

A

Where-Object

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

SE (Integrated Scripting Environment) is included in the Windows OS.

A

PowerShell ISE

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

Runs commands on a local or remote computer and returns all output, including errors. Runs commands on multiple computers

A

Invoke Commands

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

One interactive session at a time. Starts an interactive session with a single remote computer

A

Enter-PSSession

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

This cmdlet adds or more module to the current session

A

Import-Module

17
Q

Creates user accounts

A

New-ADUser

18
Q

Creates new groups

A

New-ADGroup

19
Q

Changes multiple objects in a single action

A

Bulk Action Method

20
Q

Shows all available commands for your session

A

Get-Command

21
Q

Shows all services on the current computer

A

Get-Service

22
Q

This command is similar to PIng on Powershell

A

Test-Connection

23
Q

PowerShell includes a dynamic type scripting language that allows complex operations using PowerShell “commandlets”

A

cmdlets

24
Q

is the built-in Windows PowerShell that is available by default in all modern versions of the Windows OS. PowerShell 7

A

PowerShell 5.1

25
Q

was released after PowerShell 5.1, some Windows-related cmdlets are not applicable to other platforms

A

PowerShell 7

26
Q

Modifies the properties of a user account

A

Set-ADUser

27
Q

Deletes a user account

A

Remove-ADUser

28
Q

Resets the password of a user account

A

Set-ADAccountPassword

29
Q

Unlocks a user account after it was locked due to exceeding the number of incorrect login attempts

A

Unlock-ADAccount

30
Q

Enables a user account

A

Enable-ADAccount

31
Q

is one of many PowerShell modules used by penetration testers and attackers. attackers. It is an opensource, pen testing security framework that consists of multiple PowerShell modules and scripts that allow for various common penetration testing scenarios, such as code execution, persistence, reconnaissance, and exfiltration.

A

PowerSploit