
Answer-first summary for fast verification
Answer: No
The correct answer is B (No) because while PowerShell Core 6.0 is cross-platform and can run on macOS, it does not include the Azure PowerShell module by default. To create Azure resources using PowerShell commands like New-AzVM, the Az module must be installed separately. The community discussion strongly supports this, with the top-voted comment (243 upvotes) clearly stating that PowerShell Core 6.0 alone is insufficient without the Azure PowerShell module. Although PowerShell Core 6.0 provides the scripting environment, the absence of the Azure module means the script cannot execute Azure-specific commands, making the solution incomplete for the stated goal.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.