ImportGpoCommand Class
The Import-Gpo cmdlet class that is implemented by Windows PowerShell. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.
This API is not CLS-compliant.
Namespace: Microsoft.GroupPolicy.Commands
Assembly: Microsoft.GroupPolicy.Commands (in Microsoft.GroupPolicy.Commands.dll)
Inheritance Hierarchy
System.Object
System.Management.Automation.Internal.InternalCommand
System.Management.Automation.Cmdlet
System.Management.Automation.PSCmdlet
Microsoft.GroupPolicy.Commands.ImportGpoCommand
Syntax
[CmdletAttribute("Import", "GPO", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216708",
DefaultParameterSetName = "ImportGUID", SupportsShouldProcess = true)]
[CLSCompliantAttribute(false)]
public class ImportGpoCommand : PSCmdlet
[CmdletAttribute("Import", "GPO", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216708",
DefaultParameterSetName = "ImportGUID", SupportsShouldProcess = true)]
[CLSCompliantAttribute(false)]
public ref class ImportGpoCommand : PSCmdlet
[<CmdletAttribute("Import", "GPO", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216708",
DefaultParameterSetName = "ImportGUID", SupportsShouldProcess = true)>]
[<CLSCompliantAttribute(false)>]
type ImportGpoCommand =
class
inherit PSCmdlet
end
<CmdletAttribute("Import", "GPO", HelpUri := "https://go.microsoft.com/fwlink/?LinkId=216708",
DefaultParameterSetName := "ImportGUID", SupportsShouldProcess := True)>
<CLSCompliantAttribute(False)>
Public Class ImportGpoCommand
Inherits PSCmdlet
Constructors
Name | Description | |
---|---|---|
ImportGpoCommand() | Creates a new ImportGpoCommand object. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes. |
Properties
Name | Description | |
---|---|---|
BackupGpoName | Gets and sets the value of the GpoName parameter of the Import-Gpo cmdlet. |
|
BackupId | Gets and sets the value of the BackupId parameter of the Import-Gpo cmdlet. |
|
CommandOrigin | (Inherited from InternalCommand.) |
|
CommandRuntime | (Inherited from Cmdlet.) |
|
CreateIfNeeded | Gets and sets the value of the CreateIfNeeded parameter of the Import-Gpo cmdlet. |
|
CurrentPSTransaction | (Inherited from Cmdlet.) |
|
Domain | Gets and sets the value of the Domain parameter of the Import-Gpo cmdlet. |
|
Events | (Inherited from PSCmdlet.) |
|
Host | (Inherited from PSCmdlet.) |
|
InvokeCommand | (Inherited from PSCmdlet.) |
|
InvokeProvider | (Inherited from PSCmdlet.) |
|
JobManager | (Inherited from PSCmdlet.) |
|
JobRepository | (Inherited from PSCmdlet.) |
|
MigrationTable | Gets and sets the value of the MigrationTable parameter of the Import-Gpo cmdlet. |
|
MyInvocation | (Inherited from PSCmdlet.) |
|
PagingParameters | (Inherited from PSCmdlet.) |
|
ParameterSetName | (Inherited from PSCmdlet.) |
|
Path | Gets and sets the value of the Path parameter of the Import-Gpo cmdlet. |
|
Server | Gets and sets the value of the Server parameter of the Import-Gpo cmdlet. |
|
SessionState | (Inherited from PSCmdlet.) |
|
Stopping | (Inherited from Cmdlet.) |
|
TargetGuid | Gets and sets the value of the TargetGuid parameter of the Import-Gpo cmdlet. |
|
TargetName | Gets and sets the value of the TargetName parameter of the Import-Gpo cmdlet. |
Methods
Remarks
This cmdlet imports the Group Policy settings from a backed-up Group Policy object (GPO) into a specified GPO. For more information about this cmdlet, see Import-Gpo in the Microsoft TechNet library.
For Help at the command line, type:
get-help import-gpo
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.GroupPolicy.Commands Namespace
Return to top