简体   繁体   English

从备份和链接导入GPO

[英]Import-GPO from Backup and Link

I have created 4 GPO's and used Backup-GPO in Powershell. 我创建了4个GPO,并在Powershell中使用了Backup-GPO。

I have them in a folder called C:\\GPOBackup in the default format (GUID). 我将它们放在默认格式(GUID)的名为C:\\ GPOBackup的文件夹中。

I would like to find a way to import them back in and link them to the domain my current issue is when I try to import them back in I am able to do that, but getting them to link and become active against the domain is failing because the set-gplink will not use the Display Name of the GPO Object. 我想找到一种将它们重新导入并链接到域的方法,我当前的问题是当我尝试将其重新导入时,我能够做到这一点,但是让它们链接并针对该域变得活跃却失败了。因为set-gplink将不使用GPO对象的显示名称。

我使用了错误的CMDLET,如果您使用New-GPlink cmdlet,它将按我的预期工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM