Create Pull Request
| Date | Scan | Status | Result |
|---|---|---|---|
| 2026-01-14 00:00 | #250 | in_progress |
Biased
|
| 2026-01-13 00:00 | #246 | completed |
Biased
|
| 2026-01-11 00:00 | #240 | completed |
Biased
|
| 2026-01-10 00:00 | #237 | completed |
Biased
|
| 2026-01-09 00:34 | #234 | completed |
Biased
|
| 2026-01-08 00:53 | #231 | completed |
Biased
|
| 2026-01-06 18:15 | #225 | cancelled |
Clean
|
| 2025-09-16 00:00 | #113 | completed |
Clean
|
| 2025-09-15 00:00 | #112 | completed |
Clean
|
| 2025-09-14 00:00 | #111 | completed |
Clean
|
| 2025-09-13 00:00 | #110 | completed |
Clean
|
| 2025-09-12 00:00 | #109 | completed |
Clean
|
| 2025-09-11 00:00 | #108 | completed |
Clean
|
| 2025-08-29 00:01 | #95 | completed |
Clean
|
| 2025-08-22 00:01 | #88 | completed |
Clean
|
| 2025-08-20 00:01 | #86 | completed |
Clean
|
| 2025-08-03 00:00 | #69 | completed |
Clean
|
| 2025-07-13 21:37 | #48 | completed |
Biased
|
| 2025-07-12 23:44 | #41 | cancelled |
Biased
|
# Login to Azure account
Connect-AzAccount
# Track down the subscription ID in GUID format
$subscriptionID = "your-subscription-id-number"
# Get Token
$token = Get-AzAccessToken
# Invoke SRP list SKU API, and get the returned SKU list
$result = Invoke-RestMethod -Method Get -Uri "https://management.azure.com/subscriptions/$($subscriptionID)/providers/Microsoft.Storage/skus?api-version=2024-01-01" -Headers @{"Authorization" = "Bearer $($token.Token)"}
# Filter the SKU list to get the required information, customization required here to get the best result.
$filteredResult = $result | `
Select-Object -ExpandProperty value | `
Where-Object {
$_.resourceType -eq "storageAccounts" -and
# Filter based on your needs. FileStorage kind includes pv2, and pv1 file share, where StorageV2 kind include PayGO file shares.
$_.kind -in @("FileStorage", "StorageV2") -and
# Filter based on your needs. "Standard_" for PayGO file share, "StandardV2_" for Pv2 file share, "Premium_" for pv1 file shares.
# $_.name.StartsWith("StandardV2_") -and
# Change region based on your need to see if we currently support the region (all small cases, no space in between).
# $_.locations -eq "italynorth" -and
$_.name -notin @("Standard_RAGRS", "Standard_RAGZRS")
}
if ($filteredResult.Count -eq 0) {
Write-Output "No results found."
} else {
$filteredResult | `
Select-Object `
-Property `
@{
Name = "sku";
Expression = { $_.name }
}, `
kind, `
@{
Name = "mediaTier";
Expression = {
if ($_.tier -eq "Premium") {
"SSD"
} elseif ($_.tier -eq "Standard") {
"HDD"
} else {
"Unknown"
}
}
}, `
@{
Name = "billingModel";
Expression = {
if ($_.name.StartsWith("StandardV2_") -or
$_.name.StartsWith("PremiumV2_")
) {
"ProvisionedV2"
} elseif ($_.name.StartsWith("Premium_")) {
"ProvisionedV1"
} else {
"PayAsYouGo"
}
}
}, `
@{
Name = "location";
Expression = { $_.locations | Select-Object -First 1 }
} | ft sku, kind, mediaTier, billingModel, location
}