A module is a packaged extension that adds reusable commands to PowerShell. Like a phone app adds capabilities, a module adds commands for tasks such as managing Azure resources. section 7.0 section 7.1
Use modules as a practical workflow:
- Find a module in the PowerShell Gallery or another registered repository. section 7.2
- Review compatibility, installation requirements, publisher, and code before trusting it. section 7.2 section 9.2
- Install the module, verify that it is available, and inspect the commands it provides. section 7.2 section 9.2
- Read command help, especially examples and full descriptions, before using unfamiliar commands. section 7.6
Install and inspect a module
Install-Module -Name Az prompts for repository trust. After installation, Get-Module Az -ListAvailable verifies availability. For a YAML task, Find-Module *YAML* locates candidates, Install-Module powershell-yaml adds one, and Get-Command -Module powershell-yaml reveals ConvertFrom-Yaml and ConvertTo-Yaml. section 7.2 section 9.2
Browse the PowerShell Gallery search for the Az module to connect module discovery with installation planning. section 7.2


































