How to create a PS/CLI script for file share capacity alert with Action group

Sutheswaran, Suwhathi 70 Reputation points
2024-07-04T10:14:43.54+00:00

I want to create an alert for file capacity of files and I need an action group as well.

Problem is that the storage account has 90 files and i need for each fileshare 1 Alert.

I want to try using a script to avoid taking a lot of time doing it manually.

Can someone help me with this?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,968 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,272 questions
{count} votes