BackupGpoCommand Class
The Backup-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.BackupGpoCommand
Syntax
[CmdletAttribute("Backup", "GPO", SupportsShouldProcess = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216697", DefaultParameterSetName = "BackupOne(GUID)")]
[CLSCompliantAttribute(false)]
public sealed class BackupGpoCommand : PSCmdlet
[CmdletAttribute("Backup", "GPO", SupportsShouldProcess = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216697", DefaultParameterSetName = "BackupOne(GUID)")]
[CLSCompliantAttribute(false)]
public ref class BackupGpoCommand sealed : PSCmdlet
[<Sealed>]
[<CmdletAttribute("Backup", "GPO", SupportsShouldProcess = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216697",
DefaultParameterSetName = "BackupOne(GUID)")>]
[<CLSCompliantAttribute(false)>]
type BackupGpoCommand =
class
inherit PSCmdlet
end
<CmdletAttribute("Backup", "GPO", SupportsShouldProcess := True,
HelpUri := "https://go.microsoft.com/fwlink/?LinkId=216697", DefaultParameterSetName := "BackupOne(GUID)")>
<CLSCompliantAttribute(False)>
Public NotInheritable Class BackupGpoCommand
Inherits PSCmdlet
Constructors
Name | Description | |
---|---|---|
BackupGpoCommand() | Creates a new BackupGpoCommand 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 | |
---|---|---|
All | Gets and sets the value of the All parameter of the Backup-Gpo cmdlet. |
|
CommandOrigin | (Inherited from InternalCommand.) |
|
CommandRuntime | (Inherited from Cmdlet.) |
|
Comment | Gets and sets the value of the Comment parameter of the Backup-Gpo cmdlet. |
|
CurrentPSTransaction | (Inherited from Cmdlet.) |
|
Domain | Gets and sets the value of the Domain parameter of the Backup-Gpo cmdlet. |
|
Events | (Inherited from PSCmdlet.) |
|
Guid | Gets and sets the value of the Guid parameter of the Backup-Gpo cmdlet. |
|
Host | (Inherited from PSCmdlet.) |
|
InvokeCommand | (Inherited from PSCmdlet.) |
|
InvokeProvider | (Inherited from PSCmdlet.) |
|
JobManager | (Inherited from PSCmdlet.) |
|
JobRepository | (Inherited from PSCmdlet.) |
|
MyInvocation | (Inherited from PSCmdlet.) |
|
Name | Gets and sets the value of the Name parameter of the Backup-Gpo cmdlet. |
|
PagingParameters | (Inherited from PSCmdlet.) |
|
ParameterSetName | (Inherited from PSCmdlet.) |
|
Path | Gets and sets the value of the Path parameter of the Backup-Gpo cmdlet. |
|
Server | Gets and sets the value of the Server parameter of the Backup-Gpo cmdlet. |
|
SessionState | (Inherited from PSCmdlet.) |
|
Stopping | (Inherited from Cmdlet.) |
Methods
Remarks
This cmdlet backs up one Group Policy object (GPO) or all the GPOs in a domain to the file system. For more information about this cmdlet, see Backup-Gpo in the Microsoft TechNet library.
For Help at the command line, type:
get-help backup-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