SetGPInheritanceCommand.Target Property

 

Gets and sets the value of the Target parameter of the Set-GPInheritance cmdlet.

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

Syntax

[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipeline = true, 
    ValueFromPipelineByPropertyName = true)]
[AliasAttribute(new string[] { ... })]
[ValidateNotNullOrEmptyAttribute]
public string Target { get; set; }
public:
[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipeline = true, 
    ValueFromPipelineByPropertyName = true)]
[AliasAttribute(new array<String^>^ { ... })]
[ValidateNotNullOrEmptyAttribute]
property String^ Target {
    String^ get();
    void set(String^ value);
}
[<ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipeline = true,
    ValueFromPipelineByPropertyName = true)>]
[<AliasAttribute([| ... |])>]
[<ValidateNotNullOrEmptyAttribute>]
member Target : string with get, set
<ParameterAttribute(Mandatory := True, Position := 0, ValueFromPipeline := True,
    ValueFromPipelineByPropertyName := True)>
<AliasAttribute(New String() { ... })>
<ValidateNotNullOrEmptyAttribute>
Public Property Target 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 Set-GPInheritance in the Microsoft TechNet library.

For Help at the command line, type:

get-help set-gpinheritance

See Also

SetGPInheritanceCommand Class
Microsoft.GroupPolicy.Commands Namespace

Return to top