Showing posts with the label PowerShellShow All

Lock resources to prevent unexpected changes using Powershell or Azure CLI

You may need to lock a subscription, resource group, or resource to prevent other users in your organization from accidentally deleting or modifying critical resources. You can set the lock level to CanNotDelete or ReadOnly. In the portal, the locks are called Delete …

Read more

Manage Azure Tags using PowerShell or Azure CLI

Use tags for your Azure resources, resource groups, and subscriptions to logically organize them into a taxonomy. Tag consists of a name and a value pair. To apply tags to a resource, you must have write access to the Microsoft.Resources/tags resource type. Many Az…

Read more

Manage Azure RBAC using Power Shell

Azure role-based access control (Azure RBAC) helps you manage who has access to Azure resources, what they can do with those resources, and what areas they have access to. Before we start first review basics from Microsoft document on RBAC here . Like one of the impo…

Read more

Checklist before moving resources to a new resource group or subscription

Before we start moving resource in azure to different resource group or subscription, it is better to get familiar the points mentioned in this article. Resource movement is risky operation and can result in unexpected results. First thing you need to be sure the r…

Read more

Manage Azure Policy using PowerShell or Azure CLI

Azure Policy helps to enforce organizational standards and to assess compliance at-scale. A policy definition expresses what to evaluate and what action to take. The policy definition itself is represented as a JSON file - you can use one of the pre-defined definitio…

Read more