在powershell对补丁更新处理过程中遇到一个关于更新类型的字段包含:可选、重要、推荐等
但与Microsoft有以下类别两者关系 我有些搞不清楚
Microsoft有以下更新类别
Critical Update
Security Update
Definition Update
Update Rollup
Service Pack
Tool
Feature Pack
Update
查询到关于自动更新的两个类 AutomaticUpdatesClass只是自动更新的设置类,关于所有自动更新的类都通过UpdateSessionClass
参考Interfaces (Windows)

https://docs.microsoft.com/zh-cn/windows/desktop/Wua_Sdk/interfaces 找到ICategory下有个关于get_Type的方法
ICategory :: get_Type 获取类别的类型。不知道powershell中如何 使用类,获取类型的值,像静态类[System.String]倒是知道一些,
现在请教一下,可否在powershell使用上述类,取出更新的类型,谢谢了 也想通过powershell实现 指定类型 更新的Hide