Пример #1
0
        /// <summary>
        ///
        /// </summary>
        protected override void ProcessRecord()
        {
            switch (ParameterSetName)
            {
            case "ByVolume":
                WriteObject(TypedUrls.GetInstances(volume), true);
                break;

            case "ByPath":
                WriteObject(TypedUrls.Get(hivePath), true);
                break;
            }
        }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 protected override void ProcessRecord()
 {
     WriteObject(TypedUrls.GetInstances(hivePath), true);
 }