This PowerShell script helps you to maintain an inventory sheet of your Azure Platform-As-A-Service services. So that you can refer to them anytime you want.
Also, it serves a quick way to generate a report when your client needs to have a quick look at their PaaS services.
Below is the flow
- The script logins to your Azure account and fetches the details of your Azure PaaS resources – Azure CDN and Azure WebApps.
- It creates one worksheet for each Azure resource.
- The user is prompted to select the subscription.Powershell Exception handling is implemented.
- The user is again prompted if he wishes to view the excel sheet once the script is finished running.
** The script assumes you are using Powershell v5.0 and have excel module. (Basically, you should have MSOffice installed)
Below is the link to the script:
I have also written script to generate: