Skip to content

Get-KeyVaultCertificateContactReport

Azure: Gets a report of Key Vault certificate contacts

param(
	[Parameter(Mandatory = $true)]
	[string]$VaultName
)

try {
	Import-Module Az.KeyVault -ErrorAction Stop
	$contacts = Get-AzKeyVaultCertificateContact -VaultName $VaultName -ErrorAction Stop | Select-Object EmailAddress, VaultName
	Write-Output $contacts
} catch {
	Write-Error $_
	exit 1
}

The name of the Key Vault.

An interactive directory of PowerShell scripts.