Azure PowerShell Flashcards

1
Q

What are the three different meanings of the word “PowerShell”?

A

The term “PowerShell” can refer to the command-line shell, the scripting language, and the configuration management framework (such as PowerShell DSC).

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

: Describe the syntax used in Azure PowerShell commands.

A

Azure PowerShell follows a verb-noun syntax, forming commandlets with additional switches for specific actions. It utilizes a scripting language that is consistent with PowerShell’s paradigm.

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

How can users access Azure PowerShell?

A

Azure PowerShell can be accessed through the Azure Cloud Shell in the Azure portal or in a local terminal where Azure PowerShell (AZ PowerShell) has been installed.

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

Compare Azure PowerShell with Azure CLI.

A

Azure PowerShell is a PowerShell module requiring PowerShell 5 or greater, featuring a verbose syntax aligned with PowerShell’s language. On the other hand, Azure CLI is an executable package with a terse syntax, suitable for various shells, including bash, PowerShell, or any interactive shell.

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

What are some scenarios where Azure PowerShell is preferred?

A

Azure PowerShell is preferred when users have previous PowerShell experience, operate within a pre-existing PowerShell environment, or prefer the object output paradigm, as PowerShell handles outputs as objects rather than text by default.

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

In what scenarios does Azure CLI excel?

A

Azure CLI excels when users have previous experience with bash or shell scripting, operate within pre-existing scripting environments, or require diverse shell interaction across various environments.

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

What are some key takeaways about Azure PowerShell?

A

Azure PowerShell offers a consistent syntax, is versatile across platforms (Linux, MacOS, and Windows), and provides detailed command information through the Get-Help commandlet, facilitating exploration and learning.

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