RenameGpoCommand.TargetName Property

 

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

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

Syntax

[ParameterAttribute(Mandatory = true)]
[ValidateGpoNameAttribute]
public string TargetName { get; set; }
public:
[ParameterAttribute(Mandatory = true)]
[ValidateGpoNameAttribute]
property String^ TargetName {
    String^ get();
    void set(String^ value);
}
[<ParameterAttribute(Mandatory = true)>]
[<ValidateGpoNameAttribute>]
member TargetName : string with get, set
<ParameterAttribute(Mandatory := True)>
<ValidateGpoNameAttribute>
Public Property TargetName As String

Property Value

Type: System.String

Returns String.

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