Exercise 3: Install, Use, and Confirm a Gallery Module — Possible Solution ==================================================================== THE COMMAND SEQUENCE ------------------------------ Install-Module -Name Az -Scope CurrentUser Get-Command -Verb Get -Noun *ResourceGroup* Get-Command Get-AzResourceGroup | Select-Object -ExpandProperty Source WHY EACH STEP IS THERE ------------------------------ Install-Module -Name Az -Scope CurrentUser installs the module from the PowerShell Gallery, scoped to the current user only, matching this chapter's own recommended default (no administrator rights required). Get-Command -Verb Get -Noun *ResourceGroup* reuses Chapter 3's own discovery approach to find the specific cmdlet by verb and a wildcarded noun, without needing to already know its exact name. Get-Command Get-AzResourceGroup | Select-Object -ExpandProperty Source (or equivalently, just reading the Source/ModuleName column from Get-Command's own default output) confirms which module actually owns that cmdlet, using Select-Object's -ExpandProperty (Chapter 4) to pull out the plain module name rather than a full object. WHY THIS WORKS AS AN ANSWER ------------------------------ It provides a correct, runnable sequence covering installation, discovery, and confirmation of module ownership, and correctly ties each step back to a specific earlier chapter's own tool (Chapter 3's Get-Command discovery pattern, Chapter 4's -ExpandProperty) rather than treating this as an unrelated new skill.