官术网_书友最值得收藏!

Checking GPResult data from a remote machine

In keeping with our centralized administration mindset, let's cover an example of looking up this information remotely. Today, I am logged in to my DC1 server, but I am going to utilize GPResult with a few switches in order to query the Group Policy data that is sitting on my LAPTOP1 workstation. I also want it to display GPO information for my primary user account on that system, which is called Jordan. Here is a command that will tell GPResult to reach out to LAPTOP1 and pull not only its computer information, but also the information related to the user Jordan:

GPResult /s LAPTOP1 /user JORDAN /r > JordanLaptop1.txt

As you can see, I appended yet one more way to send the resultant data out to a file, this time a text document. This is no different than reading the data inside Command Prompt, but it is now saved so that I can store it and reference it later.

If you open up that text document, you will see the output of the GPResult command. It shows me information about both computer policies as well as user policies applied to the Jordan account. Scrolling down to the user information, we can see confirmation that my Set Desktop Wallpaper to Blue 1 GPO is still being applied to this user account: 

主站蜘蛛池模板: 安阳市| 会昌县| 商丘市| 海阳市| 河南省| 华池县| 阿城市| 贺州市| 宿州市| 乌鲁木齐市| 高平市| 平阴县| 隆尧县| 鄄城县| 邵阳县| 刚察县| 禹州市| 平罗县| 民权县| 中西区| 克什克腾旗| 乳山市| 平舆县| 车致| 泸定县| 广安市| 保定市| 晋城| 岳阳县| 迁安市| 冀州市| 石渠县| 平凉市| 香格里拉县| 青海省| 渭源县| 万全县| 高尔夫| 巴彦淖尔市| 榆社县| 怀来县|