SetGPRegistryValueCommand.Key Property


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

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


[ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true)]
[AliasAttribute(new string[] { ... })]
[ValidateLengthAttribute(1, 260)]
public string Key { get; set; }
[ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true)]
[AliasAttribute(new array<String^>^ { ... })]
[ValidateLengthAttribute(1, 260)]
property String^ Key {
    String^ get();
    void set(String^ value);
[<ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true)>]
[<AliasAttribute([| ... |])>]
[<ValidateLengthAttribute(1, 260)>]
member Key : string with get, set
<ParameterAttribute(Mandatory := True, ValueFromPipelineByPropertyName := True)>
<AliasAttribute(New String() { ... })>
<ValidateLengthAttribute(1, 260)>
Public Property Key As String

Property Value

Type: System.String

Returns String.


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