Check out the list of a few important Azure PowerShell Commands with examples and Video tutorials.
Name | Description |
Get-AzureADDevice | Can help you to retrieve the details of the lists of devices from your Azure AD. |
New-AzureADDevice | Helps you to create a brand new device in your Azure Active Directory. |
Set-AzureADDevice | Updates the details of your Azure AD device. |
Remove-AzureADDevice | Remove an Azure AD device. |
Get-AzureADPolicy | Retrieve the details of your Azure AD Policy. |
New-AzureADPolicy | Create a brand new Azure AD Policy using this PowerShell command. |
Set-AzureADPolicy | Update your Azure AD Policy. |
Remove-AzureADPolicy | Delete any unwanted Azure AD policy using this PowerShell command. |
Get-AzureADDirectoryRole | Retrieve the details of a directory role from your Azure Active Directory using this command. |
Get-AzureADCurrentSessionInfo | Get the state of the current session using this PowerShell command. |
Update-AzADApplication | Update the applications in Azure AD. |
Get-AzureADApplication | Helps us to update an Azure Active Directory application. |
Set-AzureADApplication | Helps use to update an Azure Active Directory application. |
Update-AzADUser | Update the entities in the Azure Active Directory users. |
Update-AzADGroup | Helps you to update the entities in the Azure Active Directory group. |
Get-AzureADObjectByObjectId | This command will retrieve the details of a directory role from your Azure Active Directory. |
Get-AzureADTenantDetail | Get the details of the tenant in your Azure Active Directory. |
Disconnect-AzureAD | Helps you to disconnect your current session from your Azure Active Directory tenant. |
Connect-AzureAD | Helps you to use Azure AD cmdlet requests by connecting with an authenticated account. |
Get-AzureADUserMembership | Use this command to get the specified user membership in the Azure AD. |
Get-AzureADUser | Helps you to get user details from your Azure Active Directory. |
Get-AzADUser | Can get you the list of AD users. |
Remove-AzADGroup | Use this command to remove the entity from the Azure AD groups. |
Get-AzADApplication | Helps get the objects’ details based on the specified Object IDs. |
New-AzADApplication | Use the New-AzADApplication PowerShell cmdlet to add the new entity to your applications. |
Get-AzADGroup | Use this command to get the lists of Azure Active Directory Groups. |
Get-AzSecuritySetting | It will get you the security settings in the Azure Security Center. |
Get-AzTenant | Get the list of entities from the applications. |
Get-AzTag | Can help you to retrieve the lists of predefined Azure tags from your subscription. |
Add-AzRouteConfig | Use this command to add a route to a specified Azure route table. |
Get-AzRouteTable | This can help you to retrieve the route tables under a Resource Group. |
Get-AzStorageQueue | Get the lists of tenants that are authorized for current users. |
Get-AzStorageContainer | Helps you to retrieve the lists of Azure storage containers. |
Remove-AzStorageContainer | Helps you to remove the storage container that you have specified with this command. |
New-AzStorageContext | Get the lists of storage queues associated with the specified storage account. |
Get-AzADServicePrincipal | Use this command to get the entities from the service principals. |
Update-AzConfig | Update the configs of your Azure PowerShell using this command. |
Uninstall-AzureRm | Helps you to uninstall or remove all the AzureRm modules from your machine |
Set-AzDefault | Helps you to create an Azure Storage context quickly. |
Save-AzContext | Can help you to save the Az context of your current Azure session into a specified location or path. |
Get-AzEnvironment | Retrieve the endpoints and the metadata for the instance of the Azure services. |
Get-AzAvailabilitySet | Get the available Azure availability set inside a specified Resource Group. |
Get-AzProviderFeature | Use this command to add edit or set the default to your current Azure Context. |
Get-AzPolicyAssignment | Retrieve the policy assignments. |
Clear-AzDefault | Helps to clear the current context default values set by the user. |
Clear-AzConfig | Helps you to retrieve the feature details like Feature name, Registration State, Provider name, etc. in a second. |
Stop-AzDeployment | Stop or cancel a running deployment using this command. |
Set-AzResourceLock | Helps you to modify a resource lock in a second. |
New-AzManagementGroup | Clear all the configuration values set by the user using this command. |
Set-AzResourceGroup | Create a management group in seconds using this command. |
Remove-AzResource | Removes the specified Azure resource. |
New-AzRoleAssignment | Helps you to assign an RBAC role to a specific principal for a specified scope. |
Remove-AzResourceLock | Removes a lock from an Azure resource. |
New-AzResourceLock | Creates a lock for your Azure resource. |
New-AzResource | Modify your Azure resource group in seconds. |
Export-AzResourceGroup | Save your resource group as a template with a JSON file format. |
Get-AzTenantBackfillStatus | Get the status of the Tenant Backfill Subscription. |
Get-AzRoleDefinition | Retrieve the list of Azure RBAC roles that are available that you can assign. |
Get-AzRoleAssignment | Quickly create an Azure resource like a website or an Azure SQL database/server in a resource group. |
Get-AzResourceProvider | Quickly get the Azure resource provider. |
Get-AzResourceLock | Retrieve the Azure resource locks. |
Get-AzResource | Get a list of all the Azure resources. |
Get-AzConfig | Retrieve the lists of all the configs of your Azure PowerShell. |
Get-AzContext | Retrieve the metadata details. |
Disconnect-AzAccount | Disconnect an Azure account that you are connected to currently. |
Clear-AzContext | Delete/clear all the Azure credentials, subscription and account details, etc. |
Get-AzLocation | Retrieve the location details and their supported resource providers. |
Get-AzDeployment | Retrieve the deployment details under the current subscription. |
Start-ADSyncSyncCycle | Helps to force Sync Azure AD Connect or to run a sync cycle manually. |
Get-AzureADMSGroup | Get the details of the Azure AD groups via the MS Graph. |
Set-AzureADMSGroup | Modify different properties of the Azure AD group. |
Get-AzureADServicePrincipal | Retrieve the list of service principals from your Azure Active Directory. |
Get-AzureADMSDeletedGroup | Retrieve the soft deleted groups in an Azure Active Directory. |
Get-AzureADMSDeletedDirectoryObject | Get the soft deleted AD object from the Azure Active Directory. |
Get-AzureADDeletedApplication | Get the lists of deleted applications. |
Get-AzureADMSRoleAssignment | Retrieve the information about the role assignments in your Azure AD. |
Remove-AzureADApplication | Remove a specified application from your Azure Active Directory. |
Restore-AzureADDeletedApplication | Restore your deleted Azure AD application. |
Get-AzSubscription | Retrieve the List of Azure Subscriptions. |
Get-azurermsubscription | Get the subscription details that the current account can access. |
Connect-AzureRMAccount | Helps to connect to the authenticated account for using the Azure RM cmdlets. |
Select-AzureSubscription | Can get you the lists of all the role assignments under your subscription or a specific scope. |
New-AzureADMSInvitation | Can help you to invite an external user to your Azure Active directory. |
Connect-msolservice | Can help you to initiate a connection to your Azure Active Directory. |
Get-AzMetric | Can help you to retrieve the metric values of an Azure resource. |
Get-AzSqlDatabase | Help you to set and clear your current and default Azure subscriptions. |
Get-AzSqlServer | Help you retrieve the Azure SQL database lists from your Azure SQL Database Server. |
New-AzStorageTable | Can help you to retrieve detailed information about your Azure SQL Database servers. |
Get-AzStorageTable | Can help you to create a storage table quickly. |
Set-AzStorageAccount | Use this Azure PowerShell command to modify or update your Azure Storage account. |
New-AzStorageQueue | Can help you to create a storage queue in Azure. |
Get-AzActivityLog | Can help you to get the lists of available storage tables associated with the specified Storage account. |
Get-AzADGroupMember | Help you retrieve the Activity Log event lists from your Azure Subscription. |
New-AzADGroup | Can help you to create a new Azure AD group. |
New-AzADUser | Can help you to create a new Azure AD user. |
Add-AzADGroupMember | Helps you to add members to an Azure AD group. |
Get-AzADAppCredential | Help you to list the members from an Azure AD group. |