azure-osconfig
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAzure Osconfig Skill
Azure Osconfig Skill
This skill provides expert guidance for Azure Osconfig. Covers troubleshooting, security, configuration, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.
本Skill为Azure Osconfig提供专业指导,涵盖故障排查、安全、配置、集成及编码模式。它结合了本地快速参考内容与远程文档获取功能。
How to Use This Skill
如何使用本Skill
IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g.,), useL35-L120with the specified lines. For categories with file links (e.g.,read_file), use[security.md](security.md)on the linked reference fileread_file
IMPORTANT for Agent: Ifis more than 3 months old, suggest the user pull the latest version from the repository. Ifmetadata.generated_attools are not available, suggest the user install it: Installation Guidemcp_microsoftdocs
This skill requires network access to fetch documentation content:
- Preferred: Use with query string
mcp_microsoftdocs:microsoft_docs_fetch. Returns Markdown.from=learn-agent-skill - Fallback: Use with query string
fetch_webpage. Returns Markdown.from=learn-agent-skill&accept=text/markdown
面向Agent的重要提示:使用下方的分类索引查找相关章节。对于带有行范围的分类(例如),请使用L35-L120命令读取指定行。对于带有文件链接的分类(例如read_file),请对链接的参考文件使用[security.md](security.md)命令read_file
本Skill需要网络访问权限以获取文档内容:
- 首选方式:使用工具,查询字符串为
mcp_microsoftdocs:microsoft_docs_fetch,返回Markdown格式内容。from=learn-agent-skill - 备用方式:使用工具,查询字符串为
fetch_webpage,返回Markdown格式内容。from=learn-agent-skill&accept=text/markdown
Category Index
分类索引
| Category | Lines | Description |
|---|---|---|
| Troubleshooting | L32-L36 | Diagnosing OSConfig agent status and connectivity issues when using Azure IoT Hub, including checking logs, health, and troubleshooting deployment or reporting problems. |
| Security | L37-L43 | Configuring Windows security via OSConfig: App Control for Business, Windows Server 2025 security baselines, and Windows LAPS with Azure Arc and Policy. |
| Configuration | L44-L49 | Tracking OSConfig breaking changes over time and configuring/standardizing sshd settings across fleets using SSH Posture Control. |
| Integrations & Coding Patterns | L50-L62 | Patterns for using OSConfig with Azure IoT to run custom commands, manage Linux networking, firewall, packages, hostnames, reboots, and report device/OS hardware info. |
| 分类 | 行范围 | 描述 |
|---|---|---|
| 故障排查 | L32-L36 | 诊断通过Azure IoT Hub使用OSConfig时的代理状态和连接问题,包括日志检查、健康状态检查,以及排查部署或报告问题。 |
| 安全 | L37-L43 | 通过OSConfig配置Windows安全:商业应用控制、Windows Server 2025安全基线,以及结合Azure Arc和Policy的Windows LAPS。 |
| 配置 | L44-L49 | 跟踪OSConfig的重大变更,并通过SSH态势管理在全集群范围内配置和标准化sshd设置。 |
| 集成与编码模式 | L50-L62 | 使用OSConfig与Azure IoT运行自定义命令、管理Linux网络、防火墙、软件包、主机名、重启操作,以及报告设备/操作系统硬件信息的模式。 |
Troubleshooting
故障排查
| Topic | URL |
|---|---|
| Diagnose OSConfig status when using Azure IoT Hub | https://learn.microsoft.com/en-us/azure/osconfig/howto-troubleshoot |
| 主题 | 链接 |
|---|---|
| 通过Azure IoT Hub诊断OSConfig状态 | https://learn.microsoft.com/en-us/azure/osconfig/howto-troubleshoot |
Security
安全
| Topic | URL |
|---|---|
| Configure App Control for Business policies via OSConfig | https://learn.microsoft.com/en-us/azure/osconfig/osconfig-how-to-configure-app-control-for-business |
| Configure Windows Server 2025 security baselines with OSConfig | https://learn.microsoft.com/en-us/azure/osconfig/osconfig-how-to-configure-security-baselines |
| Configure Windows LAPS with Azure Arc and Policy | https://learn.microsoft.com/en-us/azure/osconfig/overview-laps-azure-arc |
| 主题 | 链接 |
|---|---|
| 通过OSConfig配置商业应用控制策略 | https://learn.microsoft.com/en-us/azure/osconfig/osconfig-how-to-configure-app-control-for-business |
| 使用OSConfig配置Windows Server 2025安全基线 | https://learn.microsoft.com/en-us/azure/osconfig/osconfig-how-to-configure-security-baselines |
| 结合Azure Arc和Policy配置Windows LAPS | https://learn.microsoft.com/en-us/azure/osconfig/overview-laps-azure-arc |
Configuration
配置
| Topic | URL |
|---|---|
| Track major OSConfig breaking changes over time | https://learn.microsoft.com/en-us/azure/osconfig/concept-majorchanges |
| Manage sshd configuration fleetwide with SSH Posture Control | https://learn.microsoft.com/en-us/azure/osconfig/ssh-brownfield-mc |
| 主题 | 链接 |
|---|---|
| 跟踪OSConfig的重大变更历史 | https://learn.microsoft.com/en-us/azure/osconfig/concept-majorchanges |
| 通过SSH态势管理在全集群范围内管理sshd配置 | https://learn.microsoft.com/en-us/azure/osconfig/ssh-brownfield-mc |
Integrations & Coding Patterns
集成与编码模式
| 主题 | 链接 |
|---|---|
| 使用OSConfig CommandRunner执行自定义设备命令 | https://learn.microsoft.com/en-us/azure/osconfig/concept-commandrunner |
| 使用OSConfig CommandRunner实现自定义配置与报告 | https://learn.microsoft.com/en-us/azure/osconfig/howto-customconfigreport |
| 使用OSConfig报告设备硬件与操作系统信息 | https://learn.microsoft.com/en-us/azure/osconfig/howto-deviceinfo |
| 使用OSConfig与Azure IoT管理Linux主机防火墙 | https://learn.microsoft.com/en-us/azure/osconfig/howto-firewall |
| 使用OSConfig与Azure IoT管理操作系统主机名 | https://learn.microsoft.com/en-us/azure/osconfig/howto-hostname |
| 使用OSConfig与Azure IoT控制/etc/hosts内容 | https://learn.microsoft.com/en-us/azure/osconfig/howto-hosts |
| 通过OSConfig与Azure IoT配置Linux网络设置 | https://learn.microsoft.com/en-us/azure/osconfig/howto-network |
| 通过OSConfig与Azure IoT管理Linux软件包管理器 | https://learn.microsoft.com/en-us/azure/osconfig/howto-pmc |
| 通过OSConfig与Azure IoT触发设备重启与关机 | https://learn.microsoft.com/en-us/azure/osconfig/howto-rebootshutdown |
| 针对启用OSConfig的设备运行Azure IoT Hub查询 | https://learn.microsoft.com/en-us/azure/osconfig/quickstart-useful-queries |