/// <summary> /// Processes the record. /// </summary> protected override void ProcessRecord() { JsonEditor.SetProperty(Path, Key, Value); }
/// <summary> /// Processes the record. /// </summary> protected override void ProcessRecord() { string value = JsonEditor.GetValue(Path, Key); WriteObject(value ?? System.Environment.GetEnvironmentVariable(Key.Replace(":", "_"))); }