https://github.com/arnab-developer/showresources
Show Azure resources
https://github.com/arnab-developer/showresources
Last synced: 3 months ago
JSON representation
Show Azure resources
- Host: GitHub
- URL: https://github.com/arnab-developer/showresources
- Owner: Arnab-Developer
- License: mit
- Created: 2023-04-30T03:49:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-30T06:13:59.000Z (about 2 years ago)
- Last Synced: 2025-01-17T02:24:14.798Z (5 months ago)
- Language: PowerShell
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Show resources
This is a PowerShell script to show resources in an Azure subscription. This script has dependency on Azure PowerShell `Az` module.
Open a PowerShell terminal and login to Azure.
```powershell
Connect-AzAccount
```Set proper Azure subscription.
```powershell
Set-AzContext
```Navigate to the repository folder and execute the `Run.ps1` script.
```powershell
.\src\Run.ps1
```This will create a new `resources.json` file in the root of the repository folder. Open the `json` file in any text editor to view the resources.