Microsoft.GroupPolicy ComputerConfiguration类 [英] Microsoft.GroupPolicy ComputerConfiguration Class

查看:128
本文介绍了Microsoft.GroupPolicy ComputerConfiguration类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

美好的一天,


我希望在我们的AD测试环境中使用Microsoft.GroupPolicy命名空间将POC放在一起,以检查单个计算机的计算机配置。


通常通过C#有一堆关于用户配置的文档,但是这个特定的命名空间似乎根本没有说明它的功能:


https://msdn.microsoft.com/en-us/library/windows/desktop/microsoft.grouppolicy.computerconfiguration(v = vs.85).ASPX CS-保存琅= 1&安培; CS琅= CSHARP# code-snippet-1


我不确定我是否只是在搜索错误的语言,如果这是一个重复的问题,请提前道歉。



如果有人知道这是否是一个可行的解决方案,如果有,可以分享一些例子或更全面的文件,我将不胜感激! / p>


非常感谢你的时间!

解决方案

您好,Mthoma922,


感谢您发布此处。


对于您的问题,您的描述中的POC是什么?您是说要创建吗? 


据我所知,Microsoft.GroupPolicy命名空间不提供创建内容的方法和属性。过去常常为GPO提供一些东西。


最好的问候,


Wendy


Good day,

I am hoping to put together a POC in our AD test environment using the Microsoft.GroupPolicy namespace for checking individual machine's computer configurations.

There is a heap load of documentation on user configuration in general through C#, but this particular namespace doesn't seem to shed any light on its functionality at all:

https://msdn.microsoft.com/en-us/library/windows/desktop/microsoft.grouppolicy.computerconfiguration(v=vs.85).aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1

I'm not sure if I'm just searching for the wrong language, and apologize in advanced if this a duplicate question.

If anyone knows whether or not this would be a viable solution, and if so, could share some examples or more thorough documentation on the matter, I would be greatly appreciated!

Thanks so much for your time!

解决方案

Hi Mthoma922,

Thank you for posting here.

For your question, what is the POC in your description? Do you mean you want to create it? 

As I know, the Microsoft.GroupPolicy namespace does not provide the method and properties to create something. It used to get something for GPO.

Best Regard,

Wendy


这篇关于Microsoft.GroupPolicy ComputerConfiguration类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆