All Projects → Azure → Azure Powershell

Azure / Azure Powershell

Licence: other
Microsoft Azure PowerShell

Programming Languages

powershell
5483 projects
C#
18002 projects
XSLT
1337 projects
Batchfile
5799 projects
shell
77523 projects
Bicep
55 projects

Projects that are alternatives of or similar to Azure Powershell

Azure Openshift
RedHat Openshift Origin cluster on Azure
Stars: ✭ 17 (-99.41%)
Mutual labels:  azure, microsoft, arm
Azops
This container image can be used to deploy ARM templates at Tenant, Management Group, Subscription and Resource Group scope and export current Azure configuration hierarchy in Git repository.
Stars: ✭ 109 (-96.21%)
Mutual labels:  azure, microsoft, arm
Recommenders
Best Practices on Recommendation Systems
Stars: ✭ 11,818 (+311.35%)
Mutual labels:  azure, microsoft
Azure Quickstart Templates
Azure Quickstart Templates
Stars: ✭ 11,138 (+287.68%)
Mutual labels:  azure, arm
Spark
.NET for Apache® Spark™ makes Apache Spark™ easily accessible to .NET developers.
Stars: ✭ 1,721 (-40.1%)
Mutual labels:  azure, microsoft
Private Aks Cluster
This sample shows how to create a private AKS cluster in a virtual network along with a jumpbox virtual machine.
Stars: ✭ 63 (-97.81%)
Mutual labels:  azure, microsoft
Architecture Center
Azure Architecture Center
Stars: ✭ 1,207 (-57.99%)
Mutual labels:  azure, microsoft
Azure Event Hubs For Kafka
Azure Event Hubs for Apache Kafka Ecosystems
Stars: ✭ 124 (-95.68%)
Mutual labels:  azure, microsoft
Pci Paas Webapp Ase Sqldb Appgateway Keyvault Oms
Azure PCI PaaS Reference Architecture
Stars: ✭ 36 (-98.75%)
Mutual labels:  azure, microsoft
Azure Event Hubs Spark
Enabling Continuous Data Processing with Apache Spark and Azure Event Hubs
Stars: ✭ 140 (-95.13%)
Mutual labels:  azure, microsoft
Oauth2 Azure
Azure AD provider for the OAuth 2.0 Client.
Stars: ✭ 140 (-95.13%)
Mutual labels:  azure, microsoft
Azure Sdk For Python
This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
Stars: ✭ 2,321 (-19.21%)
Mutual labels:  azure, microsoft
Azuremonitoringhackathon
Operationalize Azure deployments with Azure platform tools​
Stars: ✭ 46 (-98.4%)
Mutual labels:  azure, microsoft
Computervision Recipes
Best Practices, code samples, and documentation for Computer Vision.
Stars: ✭ 8,214 (+185.9%)
Mutual labels:  azure, microsoft
Azure
Azure-related repository
Stars: ✭ 78 (-97.29%)
Mutual labels:  azure, microsoft
Iotz
compile things easy 🚀
Stars: ✭ 39 (-98.64%)
Mutual labels:  azure, arm
Azure Sdk For Net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
Stars: ✭ 3,079 (+7.17%)
Mutual labels:  azure, microsoft
Vscode Apimanagement
VS Code extension for Azure API Management.
Stars: ✭ 32 (-98.89%)
Mutual labels:  azure, microsoft
Partnercenterpowershellmodule
Partner Center PowerShell Module
Stars: ✭ 35 (-98.78%)
Mutual labels:  azure, microsoft
Msm8994 8992 Nt Arm64 Drivers
Desktop Windows (ARM64) driver collection for MSM8992/8994 SoCs.
Stars: ✭ 132 (-95.41%)
Mutual labels:  microsoft, arm

AzureIcon PowershellIcon Microsoft Azure PowerShell

This repository contains PowerShell cmdlets for developers and administrators to develop, deploy, and manage Microsoft Azure applications.

Try it out in Azure Cloud Shell!

Modules

Below is a table containing our Azure PowerShell rollup module.

Description Module Name PowerShell Gallery Link
Azure PowerShell Az Az
Azure PowerShell with preview modules AzPreview AzPreview

For a full list of modules found in this repository, please see the Azure PowerShell Modules document.

Installation

PowerShell Gallery

Run the following command in an elevated PowerShell session to install the rollup module for Azure PowerShell cmdlets:

Install-Module -Name Az

This module runs on Windows PowerShell with .NET Framework 4.7.2 or greater, or the latest version of PowerShell 7. The Az module replaces AzureRM. You should not install Az side-by-side with AzureRM.

If you have an earlier version of the Azure PowerShell modules installed from the PowerShell Gallery and would like to update to the latest version, run the following commands in an elevated PowerShell session:

Update-Module -Name Az

Update-Module installs the new version side-by-side with previous versions. It does not uninstall the previous versions.

For detailed instructions on installing Azure PowerShell, please refer to the installation guide.

Usage

Log into Azure

To connect to Azure, use the Connect-AzAccount cmdlet:

# Device Code login - Provides a link to sign into Azure via your web browser
Connect-AzAccount

# Service Principal login - Use a previously created service principal to log in
Connect-AzAccount -ServicePrincipal -ApplicationId 'http://my-app' -Credential $PSCredential -TenantId $TenantId

To log into a specific cloud (AzureChinaCloud, AzureCloud, AzureGermanCloud, AzureUSGovernment), use the -Environment parameter:

# Specific cloud login - Logs into the Azure China cloud
Connect-AzAccount -Environment AzureChinaCloud

Getting and setting your Azure PowerShell session context

A session context persists login information across Azure PowerShell modules and PowerShell instances. To view the context you are using in the current session, which contains the subscription and tenant, use the Get-AzContext cmdlet:

# Gets the Azure PowerShell context for the current PowerShell session
Get-AzContext

# Lists all available Azure PowerShell contexts in the current PowerShell session
Get-AzContext -ListAvailable

To get the subscriptions in a tenant, use the Get-AzSubscription cmdlet:

# Get all of the Azure subscriptions in your current Azure tenant
Get-AzSubscription

# Get all of the Azure subscriptions in a specific Azure tenant
Get-AzSubscription -TenantId $TenantId

To change the subscription that you are using for your current context, use the Set-AzContext cmdlet:

# Set the Azure PowerShell context to a specific Azure subscription
Set-AzContext -Subscription $SubscriptionName -Name 'MyContext'

# Set the Azure PowerShell context using piping
Get-AzSubscription -SubscriptionName $SubscriptionName | Set-AzContext -Name 'MyContext'

For details on Azure PowerShell contexts, see our persisted credentials guide.

Discovering cmdlets

Use the Get-Command cmdlet to discover cmdlets within a specific module, or cmdlets that follow a specific search pattern:

# List all cmdlets in the Az.Accounts module
Get-Command -Module Az.Accounts

# List all cmdlets that contain VirtualNetwork
Get-Command -Name '*VirtualNetwork*'

# List all cmdlets that contain VM in the Az.Compute module
Get-Command -Module Az.Compute -Name '*VM*'

Cmdlet help and examples

To view the help content for a cmdlet, use the Get-Help cmdlet:

# View the basic help content for Get-AzSubscription
Get-Help -Name Get-AzSubscription

# View the examples for Get-AzSubscription
Get-Help -Name Get-AzSubscription -Examples

# View the full help content for Get-AzSubscription
Get-Help -Name Get-AzSubscription -Full

# View the help content for Get-AzSubscription on https://docs.microsoft.com
Get-Help -Name Get-AzSubscription -Online

For detailed instructions on using Azure PowerShell, please refer to the getting started guide.

Reporting Issues and Feedback

Issues

If you find any bugs when using the Azure PowerShell modules, please file an issue in our GitHub issues page. Please fill out the provided template with the appropriate information.

Alternatively, be sure to check out the Azure Community Support if you have issues with the cmdlets or Azure services.

Feedback

If there is a feature you would like to see in Azure PowerShell, please use the Send-Feedback cmdlet, or file an issue in our GitHub issues page to provide the Azure PowerShell team direct feedback.

Contribute Code

If you would like to become an active contributor to this project, please follow the instructions provided in Microsoft Azure Projects Contribution Guidelines.

Additional information about contributing to this repository can be found in the CONTRIBUTING.md document and the Azure PowerShell Developer Guide document.

Telemetry

Azure PowerShell collects telemetry data by default. Microsoft aggregates collected data to identify patterns of usage to identify common issues and to improve the experience of Azure PowerShell. Microsoft Azure PowerShell does not collect any private or personal data. For example, the usage data helps identify issues such as cmdlets with low success and helps prioritize our work. While we appreciate the insights this data provides, we also understand that not everyone wants to send usage data. You can disable data collection with the Disable-AzDataCollection cmdlet. You can also read our privacy statement to learn more.

Learn More


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].