locked
[REPORT] How to Generate Azure Premium Page Blob Report RRS feed

  • Question

  • Hi all,

    I have been Googling and scowering through various forums and articles regarding Azure report generation of P10 premium page blobs within a subscription, to no avail unfortunately.

    There are several legacy articles and discussions revolving around the use of the AzureRM module, however this is outdated and superseded by Az, hence irrelevant and not fit for purpose.

    How can I generate a report from Azure/PowerShell displaying a list of all premium page blobs in a subscription?

    Get-AzVM, Get-AzStorageAccounts and Get-AzDisk do not contain the information I'm after.

    Many Thanks,

    Hugo.

    Thursday, April 16, 2020 3:59 AM

All replies

  • Unfortunately there is no direct way to get premium page blobs, but you can get by using below commands:

    Connect-AzureRmAccount
    
    Get-AzureRmStorageAccount

    Anything that says StorageV2 in the Kind Parameter is Premium Page Blob. Below is the image for your understanding, Unfortunately, I don't have any StorageV2 in my Subscription,

    Below article for more reference:

    https://docs.microsoft.com/en-us/rest/api/storageservices/using-blob-service-operations-with-azure-premium-storage

    Thanks & Regards,


    sharath aluri

    Thursday, April 16, 2020 5:57 AM
  • Hi Sharath,

    Unfortunately that only displays storage accounts and not required VHD (VM) disks which may also be P10 premium page blobs.

    Any other methods, which may report on where these P10 disks are attached and their capacity, etc?

    Cheers

    Thursday, April 16, 2020 6:42 AM
  • @Hugo Gungormez The Azure VM forum have migrated to Microsoft Q&A (Preview):  Visit Microsoft Q&A (Preview) to post new questions on Azure Virutual Machine forum.

    However, I will try to provide some insight on your query!  You can run the below mentioned cmdlets which will provide you the details of data disk attached to a VM. If you need for all VM you can customize your script 

    $vm.StorageProfile.DataDisks
    $vm = Get-AzVM -ResourceGroupName "myResourceGroupDisk" -Name "myVM"
    
    $vm.StorageProfile.DataDisks

    Hope this helps! 

    Kindly let us know if the above helps or you need further assistance on this issue.
    ------------------------------------------------------------------------------------------

    Do click on "Mark as Answer" and Upvote on the post that helps you, this can be beneficial to other community members.

    Monday, April 20, 2020 12:08 PM
  • @Hugo Just checking in to see if the above answer helped. If this answers your query, do click “Mark as Answer” and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.
    Wednesday, April 22, 2020 5:10 AM
  • @Hugo Gungormez Just checking in to see if the above answer helped. If this answers your query, do click “Mark as Answer” and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.
    Monday, April 27, 2020 3:47 PM
  • Is there any update on the issue?

    If the suggested answer helped for your issue, do click on "Mark as Answer" and “Vote as Helpful” on the post that helps you, this can be beneficial to other community members.

    Wednesday, May 6, 2020 3:45 PM