登录 注册

azure-powershell

去点 Star
AI 模型与开发框架开发者工具
4,813
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
C#
语言
创建时间
最近更新

项目能做什么

微软 Azure 的官方 PowerShell 工具模块。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<meta name="google-site-verification" content="tZgbB2s-hTI0IePQQRCjHqL_Vf0j_XJmehXAHJerrn4" />

# ![AzureIcon] ![PowershellIcon] Microsoft Azure PowerShell

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

The Az PowerShell module is preinstalled in [Azure Cloud Shell][AzureCloudShell].

## Modules

The following table contains a list of the Azure PowerShell rollup modules.

Description       | Module Name  | PowerShell Gallery Link | Microsoft Artifact Registry |
----------------- | ------------ | ----------------------- | ----------------------------- |
Azure PowerShell  | `Az`         | [![Az]][AzGallery]| [![Az]][AzMar] |
Azure PowerShell with preview modules | `AzPreview`                             | [![AzPreview]][AzPreviewGallery] | [![AzPreview]][AzPreviewMar] |

For a complete list of the modules found in this repository, see
[Azure PowerShell Modules][AzurePowerShellModules].

## Installation

### PowerShell Gallery

Run the following command in a PowerShell session to install the Az PowerShell module:

```powershell
Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force
```

[The latest version of PowerShell 7][PowerShellCore] is the recommended version of PowerShell for
use with the Az PowerShell module on all platforms including Windows, Linux, and macOS. This module
also runs on Windows PowerShell 5.1 with [.NET Framework 4.7.2][DotNetFramework] or higher.

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 module installed from the PowerShell Gallery
and would like to update to the latest version, run the following command in a PowerShell session:

```powershell
Update-Module -Name Az -Scope CurrentUser -Force
```

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

For more information on installing Azure PowerShell, see the
[installation guide][InstallationGuide].

## Usage

### Log into Azure

To connect to Azure, use the [`Connect-AzAccount`][ConnectAzAccount] cmdlet:

```powershell
# Opens a new browser window to log into your Azure account.
Connect-AzAccount

# Log in with a previously created service principal. Use the application ID as the username, and the secret as password.
$Credential = Get-Credential
Connect-AzAccount -ServicePrincipal -Credential $Credential -TenantId $TenantId
```

To log into a specific cloud (_AzureChinaCloud_, _AzureCloud_, _AzureUSGovernment_), use the
`Environment` parameter:

```powershell
# Log into a specific cloud, for example the Azure China cloud.
Connect-AzAccount -Environment AzureChinaCloud
```

### Session context

A session context persists login information across Azure PowerShell modules and PowerShell
instances. Use the [`Get-AzContext`][GetAzContext] cmdlet to view the context you are using in the
阅读完整原文

商业机会分析 AI 生成

Azure自动化脚本资产管理与执行平台 (SaaS/On-Prem)

产品构想针对中小企业缺乏专业DevOps能力的问题,封装底层Az模块,提供Web端可视化的Azure自动化运维脚本库、凭据托管及定时审计任务执行平台。
核心功能Az脚本版本管理、自动化定时巡检、RBAC权限委托、执行日志审计与警报通知
目标用户中小企业IT主管、外包运维团队、初级Azure管理员
难度/周期高 · 3-6个月 · 成本:中等(需维护多租户安全隔离、API调用负载及前端界面)
收费模式按受控Azure订阅数量或月度订阅制收取SaaS服务费
竞争风险需与Azure原生Portal、Azure Automation及Runbooks直接竞争,替代门槛高。
依据 AI推测

企业级Azure资源合规检测与成本优化工具 (CLI/Extension)

产品构想基于Az cmdlets构建快速扫描工具,定位闲置资源、不安全网络配置与未遵循最佳实践的资源,生成合规报告及一键修复脚本。
核心功能闲置/孤立资源分析、安全基线比对、一键清理或降配推荐、导出审计报告
目标用户FinOps专员、企业信息安全审计师、合规团队
难度/周期中等 · 1-3个月 · 成本:低(轻量CLI或本地运行工具,依赖客户端自身运行环境)
收费模式免费扫描,进阶修复脚本或自动化连续监控按许可证授权或节省成本比例分成收费
竞争风险Azure Advisor和Microsoft Defender for Cloud提供类似原生免费或低成本功能。
依据 尚需验证的假设

面向传统IT团队的Azure PowerShell自动化迁移与企业培训服务

产品构想依托对Az模块的深度掌握,为正在从传统Windows Server向Azure转型的企业提供定制化PowerShell上云脚本开发、咨询与专业内训。
核心功能定制化基础设施即代码(IaC)构建、旧版AzureRM到Az平滑迁移、定制化运维培训课程与排错支持
目标用户传统企业IT部门、系统集成商(SI)、需要云转型的管理团队
难度/周期低 · 按项目交付(2-4周/单) · 成本:极低(主要是人力成本)
收费模式项目制服务费、培训课时费、长期运维咨询顾问费
竞争风险属于高人力依赖型咨询业务,难以规模化扩张,客户开发周期较长。
依据 已验证事实
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
lazywinadmin/PowerShell 中文介绍暂未生成
PowerShell functions and scripts (Azure, Active Directory, S
2,898 PowerShell
AutomatedLab/AutomatedLab 中文介绍暂未生成
AutomatedLab is a provisioning solution and framework that l
2,236 PowerShell
Micke-K/IntuneManagement 中文介绍暂未生成
Copy, export, import, delete, document and compare policies
2,132 PowerShell
Gerenios/AADInternals 中文介绍暂未生成
AADInternals PowerShell module for administering Azure AD an
1,705 PowerShell
hausec/PowerZure 中文介绍暂未生成
PowerShell framework to assess Azure security
1,305 PowerShell
JulianHayward/Azure-MG-Sub-Governance-Reporting 中文介绍暂未生成
Azure Governance Visualizer aka AzGovViz is a PowerShell scr
988 PowerShell
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 ,最近推送 ,发布过 100 个 Release
社区活跃Star 4,813 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/Azure/azure-powershell.git
cd azure-powershell
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。