Hi,
today i was planning to do few things with my "Group Policies", as usual i prefer to do it using PowerShell.
As you all know that to use Group Policy related stuff we need to import its module first. In windows 7 the group policy module in not enabled by default. We need to install it and then enable it.
The process it .
- Download and Install RSAT Tools. (http://newdelhipowershellusergroup.blogspot.in/2012/02/automate-server-administration-tools.html) and Microsoft link is http://www.microsoft.com/download/en/details.aspx?id=7887
and after installing RSAT tool.
Click on start and search for "OptionalFeatures"
Click on it.
and go to "Remote Server Administration Tools" expand it m and then expand "Feature Administration Tools" and tick on "Group Policy Management tools" and then click on "OK"
when it done installing, Open your Powershell Console and type : Import-Module GroupPolicy
No error for now..
Let see what if it imported it or not.
Get-Command -Module GroupPolicy
All Done ,, Seem fine
Now we can start messing up with Group policies using Powershell. ;o)
:)
Thanks!
Aman Dhally
Hey Hi,
ReplyDeleteI have done uptil here, but I am stuck with a way to handle a particular Group Policy setting.
The setting I want is to add a BHO-CLSID to the Add-on list on the Internet Explorer settings.
The entire path is here: GPedit.msc -> Computer Configuration -> Administrative Templates -> Windows Components -> Internet Explorer -> Security Features -> Add-on Management -> Add-on List.
I would like to enable it and then add a parameter in it.
Any help with doing so is mostly appreciated.
Thanks
Goutham