Share via


RenameGpoCommand.Guid Property

 

Gets and sets the value of the Guid parameter of the Rename-Gpo cmdlet.

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

Syntax

[ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "RenameByGUID")]
[ValidateNotNullOrEmptyAttribute]
[AliasAttribute(new string[] { ... })]
public Guid Guid { get; set; }
public:
[ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "RenameByGUID")]
[ValidateNotNullOrEmptyAttribute]
[AliasAttribute(new array<String^>^ { ... })]
property Guid Guid {
    Guid get();
    void set(Guid value);
}
[<ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true,
    ParameterSetName = "RenameByGUID")>]
[<ValidateNotNullOrEmptyAttribute>]
[<AliasAttribute([| ... |])>]
member Guid : Guid with get, set
<ParameterAttribute(Mandatory := True, ValueFromPipelineByPropertyName := True,
    ParameterSetName := "RenameByGUID")>
<ValidateNotNullOrEmptyAttribute>
<AliasAttribute(New String() { ... })>
Public Property Guid 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 Rename-Gpo in the Microsoft TechNet library.

For Help at the command line, type:

get-help rename-gpo

See Also

RenameGpoCommand Class
Microsoft.GroupPolicy.Commands Namespace

Return to top