You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/wiki/1-Collect.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,25 +8,25 @@ Run the `Get-AzureServices.ps1` script with your target scope. For example:
8
8
- To include Cost Information add parameter `-includeCost $true`. If you include this parameter, it will also generate a CSV file in the same directory. This CSV file can be used later in `3-CostInformation`. Note: This might take some time depending on how long it takes to download the cost information.
9
9
10
10
```powershell
11
-
Get-AzureServices.ps1 -includeCost $true
11
+
.\Get-AzureServices.ps1 -includeCost $true
12
12
```
13
13
14
14
- To collect the inventory for a single resource group, cost not included, run the script as follows:
- To collect the inventory for multiple subscriptions, you will need to create a json file containing the subscription ids in scope. See [here](https://github.com/Azure/AzRegionSelection/wiki/media/subscriptions.json) for a sample json file. Once the file is created, run the script as follows:
26
+
- To collect the inventory for multiple subscriptions, you will need to create a `subscriptions.json` file containing the subscription ids in scope. See [here](https://github.com/Azure/AzRegionSelection/wiki/media/subscriptions.json) for a sample json file. Once the file is created, run the script as follows:
Copy file name to clipboardExpand all lines: docs/wiki/2-AvailabilityCheck.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Note that this functionality is not yet complete and is a work in progress. Curr
13
13
The `Get-AvailabilityInformation.ps1` script only needs to be run once to collect the availability information for all regions, which takes a little while. Run the following script:
14
14
15
15
```powershell
16
-
Get-AvailabilityInformation.ps1
16
+
.\Get-AvailabilityInformation.ps1
17
17
```
18
18
It will generate a number of json files in the same directory the important one is the `Availability_Mapping.json`
19
19
@@ -22,16 +22,23 @@ It will generate a number of json files in the same directory the important one
22
22
To check the availability of the resources in scope in a specific region run following script:
23
23
24
24
```powershell
25
-
Get-Region.ps1 -Region <Target-region>
25
+
.\Get-Region.ps1 -Region <Target-region>
26
26
```
27
27
This will generate `Availability_Mapping_<Region>.json` in the same directory.
28
28
29
+
## Multiple Regions
30
+
To generate a report for multiple regions, you need to create one `Availability_Mapping_<Region>.json` file per region.
31
+
Run the following command for each region:
32
+
```powershell
33
+
.\Get-Region.ps1 -Region <Target-region>
34
+
```
35
+
29
36
## Example:
30
37
```powershell
31
-
Get-AvailabilityInformation.ps1
38
+
.\Get-AvailabilityInformation.ps1
32
39
# Wait for the script to complete, this may take a while.
0 commit comments