AzToolkit is published in the Chocolatey packages community feed and has a dependency on the Azure Powershell module.
As AzTookit is a PowerShell module it will autoload when any exported functions are invoked. The module will fail to load if the Azure PowerShell module is not included in the list of available PowerShell modules.
Get-Module -listavailable
List of exported functions:
- Get-AzStorageAccountConnectionString
targetName
Mandatory - The name of the storage account
keyType
Optional - The type of key to return. Will default to Primary. Options are:
- Primary
- Secondary
Get-AzStorageAccountConnectionString -targetName "aztkaccount01"
Get-AzStorageAccountConnectionString -targetName "aztkaccount01" -keyType Secondary