I want to set the value of "Inclusion list for Moderate risk file Types" to enable and add a file extension to the list. The key exists in :
User Configuration>Administrative Templates>Windows Components>Attachment Manager
How can I use powershell to turn this on and off ?
To create a GPO based on a registry key on a W2K8 R2 computer, the roadmap is the following
Import the Active-Directory module :
Import-module activeDirectory
Create a GPO and link it to an OU :
Create the registry value :