Jim O'Neil
Jim O'Neil

Reputation: 23754

Add-AzureKeyVaultManagedStorageAccount cmdlet not found in AzureRM.KeyVault v. 3.1.0

According to Powershell Gallery the 3.1.0 version of AzureRM.KeyVault contains cmdlets supporting Azure Storage accounts whose keys are managed by KeyVault. I installed and Get-Module shows the 3.1.0 version, but I am not seeing (in ExportedCommands) the various commands to support storage.

Upvotes: 3

Views: 171

Answers (1)

4c74356b41
4c74356b41

Reputation: 72161

Here are the steps I would do.

  1. Shutdown all powershell processes or reboot
  2. Go to c:\program files\windowspowershell\modules and delete the folder with the AzureRM.keyvault in name
  3. Launch powershell and install the module Install-Module -Name AzureRM.KeyVault

Upvotes: 2

Related Questions