{
	"id": "0fbe8c53-8057-4996-9b7d-08affba73da3",
	"created_at": "2026-04-06T00:17:08.747556Z",
	"updated_at": "2026-04-10T13:11:56.694821Z",
	"deleted_at": null,
	"sha1_hash": "15e819c130389c22a52c480691f4d2a2a1553794",
	"title": "GitHub - Azure/azure-powershell: Microsoft Azure PowerShell",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 85704,
	"plain_text": "GitHub - Azure/azure-powershell: Microsoft Azure PowerShell\r\nBy VeryEarly\r\nArchived: 2026-04-05 19:41:16 UTC\r\nThis repository contains PowerShell cmdlets for developers and administrators to develop, deploy, administer, and\r\nmanage Microsoft Azure resources.\r\nThe Az PowerShell module is preinstalled in Azure Cloud Shell.\r\nModules\r\nThe following table contains a list of the Azure PowerShell rollup modules.\r\nDescription\r\nModule\r\nName\r\nPowerShell Gallery\r\nLink\r\nMicrosoft Artifact\r\nRegistry\r\nAzure PowerShell Az Az v15.4.0 Az v15.4.0\r\nAzure PowerShell with preview\r\nmodules\r\nAzPreview AzPreview v15.4.0 AzPreview v15.4.0\r\nFor a complete list of the modules found in this repository, see Azure PowerShell Modules.\r\nInstallation\r\nPowerShell Gallery\r\nRun the following command in a PowerShell session to install the Az PowerShell module:\r\nInstall-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force\r\nThe latest version of PowerShell 7 is the recommended version of PowerShell for use with the Az PowerShell\r\nmodule on all platforms including Windows, Linux, and macOS. This module also runs on Windows PowerShell\r\n5.1 with .NET Framework 4.7.2 or higher.\r\nThe Az module replaces AzureRM . You should not install Az side-by-side with AzureRM .\r\nIf you have an earlier version of the Azure PowerShell module installed from the PowerShell Gallery and would\r\nlike to update to the latest version, run the following command in a PowerShell session:\r\nUpdate-Module -Name Az -Scope CurrentUser -Force\r\nhttps://github.com/Azure/azure-powershell\r\nPage 1 of 4\n\nUpdate-Module installs the new version side-by-side with previous versions. It does not uninstall the previous\r\nversions.\r\nFor more information on installing Azure PowerShell, see the installation guide.\r\nUsage\r\nLog into Azure\r\nTo connect to Azure, use the Connect-AzAccount cmdlet:\r\n# Opens a new browser window to log into your Azure account.\r\nConnect-AzAccount\r\n# Log in with a previously created service principal. Use the application ID as the username, and the\r\n$Credential = Get-Credential\r\nConnect-AzAccount -ServicePrincipal -Credential $Credential -TenantId $TenantId\r\nTo log into a specific cloud (AzureChinaCloud, AzureCloud, AzureUSGovernment), use the Environment\r\nparameter:\r\n# Log into a specific cloud, for example the Azure China cloud.\r\nConnect-AzAccount -Environment AzureChinaCloud\r\nSession context\r\nA session context persists login information across Azure PowerShell modules and PowerShell instances. Use the\r\nGet-AzContext cmdlet to view the context you are using in the current session. The results contain the Azure\r\ntenant and subscription.\r\n# Get the Azure PowerShell context for the current PowerShell session\r\nGet-AzContext\r\n# Lists all available Azure PowerShell contexts in the current PowerShell session\r\nGet-AzContext -ListAvailable\r\nTo get the subscriptions in a tenant, use the Get-AzSubscription cmdlet:\r\n# Get all of the Azure subscriptions in your current Azure tenant\r\nGet-AzSubscription\r\n# Get all of the Azure subscriptions in a specific Azure tenant\r\nGet-AzSubscription -TenantId $TenantId\r\nhttps://github.com/Azure/azure-powershell\r\nPage 2 of 4\n\nTo change the subscription that you are using for your current context, use the Set-AzContext cmdlet:\r\n# Set the Azure PowerShell context to a specific Azure subscription\r\nSet-AzContext -Subscription $SubscriptionName -Name 'MyContext'\r\n# Set the Azure PowerShell context using piping\r\nGet-AzSubscription -SubscriptionName $SubscriptionName | Set-AzContext -Name 'MyContext'\r\nFor details on Azure PowerShell contexts, see Azure PowerShell context objects.\r\nDiscovering cmdlets\r\nUse Get-Command to discover cmdlets within a specific module, or cmdlets that follow a specific search pattern:\r\n# List all cmdlets in the Az.Accounts module\r\nGet-Command -Module Az.Accounts\r\n# List all cmdlets that contain VirtualNetwork in their name\r\nGet-Command -Name '*VirtualNetwork*'\r\n# List all cmdlets that contain VM in their name in the Az.Compute module\r\nGet-Command -Module Az.Compute -Name '*VM*'\r\nCmdlet help and examples\r\nTo view the help content for a cmdlet, use the Get-Help cmdlet:\r\n# View basic help information for Get-AzSubscription\r\nGet-Help -Name Get-AzSubscription\r\n# View the examples for Get-AzSubscription\r\nGet-Help -Name Get-AzSubscription -Examples\r\n# View the full help for Get-AzSubscription\r\nGet-Help -Name Get-AzSubscription -Full\r\n# View the online version of the help from https://learn.microsoft.com for Get-AzSubscription\r\nGet-Help -Name Get-AzSubscription -Online\r\nFor detailed instructions on using Azure PowerShell, see the getting started guide.\r\nReporting Issues and Feedback\r\nIssues\r\nhttps://github.com/Azure/azure-powershell\r\nPage 3 of 4\n\nIf you find any bugs when using Azure PowerShell, file an issue in our GitHub repo. Fill out the issue template\r\nwith the appropriate information.\r\nAlternatively, see Azure Community Support if you have issues with Azure PowerShell or Azure services.\r\nFeedback\r\nIf there is a feature you would like to see in Azure PowerShell, use the Send-Feedback cmdlet, or file an issue in\r\nour GitHub repo.\r\nContributing\r\nFor details on contributing to this repository, see the contributing guide and the Azure PowerShell Developer\r\nGuide.\r\nThis project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor\r\nLicense Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your\r\ncontribution. For details, visit https://cla.microsoft.com.\r\nWhen you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and\r\ndecorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will\r\nonly need to do this once across all repositories using our CLA.\r\nThis project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of\r\nConduct FAQ or contact opencode@microsoft.com with any additional questions or comments.\r\nTelemetry\r\nAzure PowerShell collects telemetry data by default. Microsoft aggregates collected data to identify patterns of\r\nusage to identify common issues and to improve the experience of Azure PowerShell. Microsoft Azure\r\nPowerShell does not collect any private or personal data. For example, the usage data helps identify issues such as\r\ncmdlets with low success and helps prioritize our work. While we appreciate the insights this data provides, we\r\nalso understand that not everyone wants to send usage data. You can disable data collection with the Disable-AzDataCollection cmdlet. To learn more, see our privacy statement.\r\nLearn More\r\nMicrosoft Azure Documentation\r\nPowerShell Documentation\r\nThis project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of\r\nConduct FAQ or contact opencode@microsoft.com with any additional questions or comments.\r\nSource: https://github.com/Azure/azure-powershell\r\nhttps://github.com/Azure/azure-powershell\r\nPage 4 of 4",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"origins": [
		"web"
	],
	"references": [
		"https://github.com/Azure/azure-powershell"
	],
	"report_names": [
		"azure-powershell"
	],
	"threat_actors": [],
	"ts_created_at": 1775434628,
	"ts_updated_at": 1775826716,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/15e819c130389c22a52c480691f4d2a2a1553794.pdf",
		"text": "https://archive.orkl.eu/15e819c130389c22a52c480691f4d2a2a1553794.txt",
		"img": "https://archive.orkl.eu/15e819c130389c22a52c480691f4d2a2a1553794.jpg"
	}
}