none
Powershell - How to list GPO Settings RRS feed

  • Question

  • Hi 

    I have problem to run PowerShell cmdlet, 

    Get-GPResultantSetOfPolicy

    That I have trying to get; 

    *************************************************************************

    • GPO Report for default user

    Get-GPResultantSetOfPolicy -ReportType Xml -Path "c:\scripts\LocalUserAndComputerReport.xml"

    • GPO Report for Computer

    Get-GPResultantSetOfPolicy -ReportType Xml -Computer "computer-08.contso.com" -Path "c:\scripts\computer-08.xml"

    • GPO Report for specified User

    Get-GPResultantSetofPolicy -User "Contoso\PattiFul" -ReportType Html -Path "c:\scripts\UserReport.html"

    ***************************************************************************

    Get-GPResultantSetOfPolicy: The term 'Get-GPResultantSetOfPolicy' is not recognized as the name of a cmdlet, function, script file, or operable
    program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

    If it something I have missed, get permission or something?

    Sokoban ;-) Please help



    ----- S-O-K-O-B-A-N -----




    • Edited by Sokoban Wednesday, February 27, 2019 10:18 AM
    Wednesday, February 27, 2019 10:13 AM

Answers

All replies