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
System_CAPS_pubmethod Import(GpoBackup)

Imports the policy settings from a specified Group Policy object (GPO) backup.

System_CAPS_pubmethod Import(GpoBackup, GPMigrationTable)

Imports the policy settings from a specified Group Policy object (GPO) backup by using the specified migration table.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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