Skip to content
Menu
The Lonely Administrator
  • PowerShell Tips & Tricks
  • Books & Training
  • Essential PowerShell Learning Resources
  • Privacy Policy
  • About Me
The Lonely Administrator

TechEd Atlanta – Troubleshooting with RSoP

Posted on May 23, 2011

I thought my session on troubleshooting with Group Policy and Resultant Set of Policy (RSoP) went rather well. I got some great questions and some nice feedback. The session was recorded and you can watch it on the TechEd North America site, even if you didn't attend. Click here for the session page and video.

Manage and Report Active Directory, Exchange and Microsoft 365 with
ManageEngine ADManager Plus - Download Free Trial

Exclusive offer on ADManager Plus for US and UK regions. Claim now!

As promised, the demos and a PDF of the slide deck can be also be downloaded in a zip file:Troubleshooting-with-RSOP. The PowerShell demo scripts are text files. They are meant to be run one line at a time as example commands. These aren't really scripts.

If you have any questions, let me know.


Behind the PowerShell Pipeline

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to print (Opens in new window) Print
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...

Related

7 thoughts on “TechEd Atlanta – Troubleshooting with RSoP”

  1. Vincent says:
    May 24, 2011 at 2:58 am

    Very interesting. I always wondered about managing GPOs from Posh but never got to it.
    Anyway, I installed RSAT and enabled the tools in control panel > programs > windows features but I still can’t find the module folder “grouppolicy” anywhere. Did I miss something ?

    1. Jeffery Hicks says:
      May 24, 2011 at 7:02 am

      In a PowerShell session, import the module like I did in my demo:

      Import-Module GroupPolicy

      Then you’ll have access to all the cmdlets. Run:

      Get-Command -module GroupPolicy

      to see the module contents.

      1. Vincent says:
        May 24, 2011 at 9:11 am

        Thanks Jeffrey, but what I meant is that there’s nothing to import. When I type Import-Module GroupPolicy it returns : The specified module ‘GroupPolicy’ was not loaded because no va
        lid module file was found in any module directory.

        There’s no module directory named GroupPolicy. I thought this folder came along with RSAT, right ?

      2. Jeffery Hicks says:
        May 24, 2011 at 9:25 am

        I see now. That is odd. This is on Windows 7 right? It sounds like you did everything correctly. When you run Get-Module -list I’m assuming you also don’t see the GroupPolicy module. This is a system module so you should see the folder: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\GroupPolicy

        If not, then I might suspect a permission or UAC problem.

      3. Vincent says:
        May 25, 2011 at 5:03 am

        Thanks ! I’ve found the grouppolicy folder under C:\Windows\system32\WindowsPowerShell\v1.0\Modules\GroupPolicy. I wasn’t aware of this folder. I use a custom modulefolder using $ENV:PSModulePath = “O:\Scripts\PoSh\Modules” in my profile file. I copied the folder there and now it’s all working ! Thanks again.

      4. Jeffery Hicks says:
        May 25, 2011 at 7:22 am

        You shouldn’t have needed to do that, unless you modified the original %PSMODULEPATH% and removed C:\Windows\system32\WindowsPowerShell\v1.0\Modules\. which would mean you wouldn’t see any system modules like AppLocker, BitsTransfer, or TroubleshootingPack. But if you get what you need I’ll let it go.

      5. Vincent says:
        May 25, 2011 at 9:42 am

        yeah I only modified the %PSModulePath%. It’s still strange that it doesn’t check the system modules folder when I type Import-Module. But it doesn’t matter that much.

        The HTML report of RSOP is very useful btw !
        Whenever I’m troubleshooting clients I load global variables for their computername, loginname etc. into the session. I’ve made a little script of the HTML RSOP report and now I have the RSOP of the client in no time. Brilliant 🙂

Comments are closed.

reports

Powered by Buttondown.

Join me on Mastodon

The PowerShell Practice Primer
Learn PowerShell in a Month of Lunches Fourth edition


Get More PowerShell Books

Other Online Content

github



PluralSightAuthor

Active Directory ADSI Automation Backup Books CIM CLI conferences console Friday Fun FridayFun Function functions Get-WMIObject GitHub hashtable HTML Hyper-V Iron Scripter ISE Measure-Object module modules MrRoboto new-object objects Out-Gridview Pipeline PowerShell PowerShell ISE Profile prompt Registry Regular Expressions remoting SAPIEN ScriptBlock Scripting Techmentor Training VBScript WMI WPF Write-Host xml

©2025 The Lonely Administrator | Powered by SuperbThemes!
%d