Complete the code to import the module named 'Az.Accounts'.
Import-Module [1]The Import-Module command loads the specified module into the current session. Here, Az.Accounts is the module name to import.
Complete the code to import the module 'Microsoft.PowerShell.Management' only if it is not already imported.
if (-not (Get-Module -Name [1])) { Import-Module [1] }
This code checks if the module Microsoft.PowerShell.Management is already loaded. If not, it imports it.
Fix the error in the code to import the module 'PSReadLine'.
Import-Module [1]The correct module name is PSReadLine with exact casing and spelling.
Fill both blanks to import the module 'Az.Compute' and force re-import even if already loaded.
Import-Module [1] -[2]
The -Force parameter forces the module to reload even if it is already imported.
Fill all three blanks to import the module 'AzureAD' with the scope set to current user and suppress errors.
Import-Module [1] -Scope [2] -ErrorAction [3]
AllUsers instead of CurrentUser for scope.SilentlyContinue to suppress errors.This command imports the AzureAD module for the current user only and hides any error messages.