Basic Azure resource explorer based in Powershell scripting
This PowerShell script allows you check and set some properties of your Azure resources that are grouped in a Resource Group
- Windows enviroment (tested in a clean W10 installation)
- Powershell or PSCore installed (installed by default in W8.1 and newer)
- Az Powershell installed (check THIS)
- Clone this repo or download the script file: Script Link(Right-click in the link and choose "Save link as")
- Allow the PowerShell script execution running this command in a PowerShell terminal:
Set-ExecutionPolicy -ExecutionPolicy ByPass -Scope CurrentUser
This is mandatory and has to be done because the script execution is disabled by default for security reasons.
- Run the script directly from PowerShell with the command:
.\rgviewer.ps1
Remember to open the script from the folder where the file is located, Also, the script could be executed from the file explorer, just right-clicking the script file and clicking in the option "Run with PowerShell".
- Follow the instructions of the script.
- Sometimes, the Azure Web Authentication will not work the first time if you have activated the 2-factor auth (In the second try, the script will work normally)
- The tag function could not work sometimes tagging service plans (Microsoft.Web/serverFarms), this problem will occur also in the web version of the Azure Resource Manager (Azure Portal)