locked
Extract GPO settings from end computers RRS feed

  • Question

  • Hi All,

    I'm planning to extract the currently configured GPO settings for persistent session. Is there any powershell script to pull the settings from multiple end computers.

    Below are the GPO settings needs to be extracted,

    Interactive logon: Machine inactivity limit.

    Microsoft network server: Amount of idle time required before suspending session.

    Thanks in advance!!!


    vicky

    • Moved by Bill_Stewart Thursday, December 13, 2018 3:33 PM This is not "scripts on demand"
    Monday, September 24, 2018 3:40 PM

All replies

  • "persistent session"?  What is that?

    To get GPO settings just look in GPMC or run "GPResult" on the member system.

    You should be posting GP questions in the Group Policy forum.


    \_(ツ)_/

    Monday, September 24, 2018 4:05 PM
  • Hi,

    Am looking for the script to extract the settings from multiple end computers. Are you able to help me on this?

    Thanks.


    vicky

    Monday, September 24, 2018 4:28 PM
  • GPResult can do this as it can be executed remotely and outputs to a file.

    We cannot write a script for you.


    \_(ツ)_/

    Monday, September 24, 2018 4:31 PM
  • Is GPResult can be executed from centralized server to remote computers and able to collect the details in that server? If so any example powershell commands?


    vicky

    Tuesday, September 25, 2018 1:16 PM
  • You can also use this from a server with GPMC/PS support installed:

    Get-GPResultantSetofPolicy

    https://docs.microsoft.com/en-us/powershell/module/grouppolicy/get-gpresultantsetofpolicy?view=win10-ps


    \_(ツ)_/

    Tuesday, September 25, 2018 1:44 PM