Skip to content

Commit

Permalink
Merge pull request #3 from asksven/asksven-patch-3
Browse files Browse the repository at this point in the history
Update AzuriteExplorer.ps1
  • Loading branch information
asksven authored Dec 11, 2016
2 parents 45a9295 + b5b809e commit 5ac8a1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AzuriteExplorer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ Email: apostolis.mastoris[at]mwrinfosecurity.com
[System.IO.File]::W‌​riteAllLines($azureSubscriptionConfigurationFilePath, $azureSubscriptionConfigurationContent, $Utf8NoBomEncoding)
#>

# finally create a json file with all resources (as not all resource types are handled in a greater level of detail)
Get-AzureRmResource | ConvertTo-Json -Depth 10 | Out-File $(".\azure-cmdb_" + $subscriptionId + "_" + $context.Account + ".json") -Encoding UTF8

# Present information/statistics about the Azure subscription.
Write-Host "[*] Azure Subscription Information - Subscription Id $subscriptionId"
Write-Host " [-] Resource Groups: $($resourceGroups.Count)"
Expand Down

0 comments on commit 5ac8a1c

Please sign in to comment.