RestoreGpoCommand.BackupId Property

 

Gets and sets the value of the BackupId parameter of the Restore-Gpo cmdlet.

Namespace:   Microsoft.GroupPolicy.Commands
Assembly:  Microsoft.GroupPolicy.Commands (in Microsoft.GroupPolicy.Commands.dll)

Syntax

[ParameterAttribute(Mandatory = true, ParameterSetName = "RestoreFromBackupId", 
    ValueFromPipelineByPropertyName = true)]
[AliasAttribute(new string[] { ... })]
[ValidateNotNullOrEmptyAttribute]
public Guid BackupId { get; set; }
public:
[ParameterAttribute(Mandatory = true, ParameterSetName = "RestoreFromBackupId", 
    ValueFromPipelineByPropertyName = true)]
[AliasAttribute(new array<String^>^ { ... })]
[ValidateNotNullOrEmptyAttribute]
property Guid BackupId {
    Guid get();
    void set(Guid value);
}
[<ParameterAttribute(Mandatory = true, ParameterSetName = "RestoreFromBackupId",
    ValueFromPipelineByPropertyName = true)>]
[<AliasAttribute([| ... |])>]
[<ValidateNotNullOrEmptyAttribute>]
member BackupId : Guid with get, set
<ParameterAttribute(Mandatory := True, ParameterSetName := "RestoreFromBackupId",
    ValueFromPipelineByPropertyName := True)>
<AliasAttribute(New String() { ... })>
<ValidateNotNullOrEmptyAttribute>
Public Property BackupId As Guid

Property Value

Type: System.Guid

Returns Guid.

Remarks

This topic is included in this SDK for completeness only.For more information about this cmdlet, see Restore-Gpo in the Microsoft TechNet library.

For Help at the command line, type:

get-help restore-gpo

See Also

RestoreGpoCommand Class
Microsoft.GroupPolicy.Commands Namespace

Return to top