Share via


SetGPRegistryValueCommand.ValueName Property

 

Gets and sets the value of the ValueName parameter of the Set-GPRegistryValue cmdlet.

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

Syntax

[ParameterAttribute(ValueFromPipelineByPropertyName = true)]
[ValidateNotNullAttribute]
[ValidateLengthAttribute(0, 255)]
public string[] ValueName { get; set; }
public:
[ParameterAttribute(ValueFromPipelineByPropertyName = true)]
[ValidateNotNullAttribute]
[ValidateLengthAttribute(0, 255)]
property array<String^>^ ValueName {
    array<String^>^ get();
    void set(array<String^>^ value);
}
[<ParameterAttribute(ValueFromPipelineByPropertyName = true)>]
[<ValidateNotNullAttribute>]
[<ValidateLengthAttribute(0, 255)>]
member ValueName : string[] with get, set
<ParameterAttribute(ValueFromPipelineByPropertyName := True)>
<ValidateNotNullAttribute>
<ValidateLengthAttribute(0, 255)>
Public Property ValueName 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-GPRegistryValue in the Microsoft TechNet library.

For Help at the command line, type:

get-help set-gpregistryvalue

See Also

SetGPRegistryValueCommand Class
Microsoft.GroupPolicy.Commands Namespace

Return to top