Is it possible to programmatically create a hash rule?

I wanted to programmatically create a hash rule in accordance with the Software Restriction Policy for Windows using C # / VB, Powershell, WMI or anything that might work. Has anyone ever tried this before?

+4
source share
1 answer

This will not be a specific answer, but you can manage GPOs using PowerShell. I found a link to an article from TechNet Magazine, Simplify Group Policy Administration with Windows PowerShell ( Here is the link to download the code ).

If you have a 2008 R2 server, PowerShell has a group object module function that you can enable.

I also found this set of GPO cmdlets on GPOGUY.com.

+1
source

Source: https://habr.com/ru/post/1337412/


All Articles