azure-osconfig

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Azure 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.,
L35-L120
), use
read_file
with the specified lines. For categories with file links (e.g.,
[security.md](security.md)
), use
read_file
on the linked reference file
IMPORTANT for Agent: If
metadata.generated_at
is more than 3 months old, suggest the user pull the latest version from the repository. If
mcp_microsoftdocs
tools are not available, suggest the user install it: Installation Guide
This skill requires network access to fetch documentation content:
  • Preferred: Use
    mcp_microsoftdocs:microsoft_docs_fetch
    with query string
    from=learn-agent-skill
    . Returns Markdown.
  • Fallback: Use
    fetch_webpage
    with query string
    from=learn-agent-skill&accept=text/markdown
    . Returns Markdown.
面向Agent的重要提示:使用下方的分类索引查找相关章节。对于带有行范围的分类(例如
L35-L120
),请使用
read_file
命令读取指定行。对于带有文件链接的分类(例如
[security.md](security.md)
),请对链接的参考文件使用
read_file
命令
面向Agent的重要提示:如果
metadata.generated_at
的时间超过3个月,建议用户从仓库拉取最新版本。如果
mcp_microsoftdocs
工具不可用,建议用户安装:安装指南
本Skill需要网络访问权限以获取文档内容:
  • 首选方式:使用
    mcp_microsoftdocs:microsoft_docs_fetch
    工具,查询字符串为
    from=learn-agent-skill
    ,返回Markdown格式内容。
  • 备用方式:使用
    fetch_webpage
    工具,查询字符串为
    from=learn-agent-skill&accept=text/markdown
    ,返回Markdown格式内容。

Category Index

分类索引

CategoryLinesDescription
TroubleshootingL32-L36Diagnosing OSConfig agent status and connectivity issues when using Azure IoT Hub, including checking logs, health, and troubleshooting deployment or reporting problems.
SecurityL37-L43Configuring Windows security via OSConfig: App Control for Business, Windows Server 2025 security baselines, and Windows LAPS with Azure Arc and Policy.
ConfigurationL44-L49Tracking OSConfig breaking changes over time and configuring/standardizing sshd settings across fleets using SSH Posture Control.
Integrations & Coding PatternsL50-L62Patterns 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

故障排查

TopicURL
Diagnose OSConfig status when using Azure IoT Hubhttps://learn.microsoft.com/en-us/azure/osconfig/howto-troubleshoot
主题链接
通过Azure IoT Hub诊断OSConfig状态https://learn.microsoft.com/en-us/azure/osconfig/howto-troubleshoot

Security

安全

Configuration

配置

TopicURL
Track major OSConfig breaking changes over timehttps://learn.microsoft.com/en-us/azure/osconfig/concept-majorchanges
Manage sshd configuration fleetwide with SSH Posture Controlhttps://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

集成与编码模式

TopicURL
Use OSConfig CommandRunner for custom device commandshttps://learn.microsoft.com/en-us/azure/osconfig/concept-commandrunner
Implement custom configuration and reporting with OSConfig CommandRunnerhttps://learn.microsoft.com/en-us/azure/osconfig/howto-customconfigreport
Report device hardware and OS info with OSConfighttps://learn.microsoft.com/en-us/azure/osconfig/howto-deviceinfo
Manage Linux host firewall using OSConfig and Azure IoThttps://learn.microsoft.com/en-us/azure/osconfig/howto-firewall
Manage OS hostnames using OSConfig and Azure IoThttps://learn.microsoft.com/en-us/azure/osconfig/howto-hostname
Control /etc/hosts content with OSConfig and Azure IoThttps://learn.microsoft.com/en-us/azure/osconfig/howto-hosts
Configure Linux network settings via OSConfig and Azure IoThttps://learn.microsoft.com/en-us/azure/osconfig/howto-network
Manage Linux package manager through OSConfig and Azure IoThttps://learn.microsoft.com/en-us/azure/osconfig/howto-pmc
Trigger device reboot and shutdown via OSConfig and Azure IoThttps://learn.microsoft.com/en-us/azure/osconfig/howto-rebootshutdown
Run Azure IoT Hub queries for OSConfig-enabled deviceshttps://learn.microsoft.com/en-us/azure/osconfig/quickstart-useful-queries
主题链接
使用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