Gpo.Import Method
Imports the policy settings from a specified Group Policy object (GPO) backup.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Overload List
Name | Description | |
---|---|---|
Import(GpoBackup) | Imports the policy settings from a specified Group Policy object (GPO) backup. |
|
Import(GpoBackup, GPMigrationTable) | Imports the policy settings from a specified Group Policy object (GPO) backup by using the specified migration table. |
|
Import(GpoBackup, GPMigrationTable, Boolean) | Imports the policy settings from the specified Group Policy object (GPO) backup by using the specified migration table and a value that specifies whether to fail if a map entry does not exist. |
|
Import(GpoBackup, GPMigrationTable, Boolean, GPStatusMessageCollection) | Imports the policy settings from a specified Group Policy object (GPO) backup by using the specified migration table and a value that specifies whether to fail if a map entry does not exist. This method also returns status. |
|
Import(GpoBackup, GPMigrationTable, GPStatusMessageCollection) | Imports the policy settings from the specified Group Policy object (GPO) backup by using the specified migration table and returns status. |
|
Import(GpoBackup, GPStatusMessageCollection) | Imports the policy settings from a specified Group Policy object (GPO) backup and returns status. |
Remarks
An import operation transfers the policy settings from a backed-up GPO in the file system to the GPO in the Active Directory. The operation erases any previous policy settings in the GPO. The source GPO can be any backed-up GPO in the file system.
See Also
Gpo Class
Microsoft.GroupPolicy Namespace
Return to top