Ejemplo n.º 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;
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 protected override void ProcessRecord()
 {
     WriteObject(TypedUrls.GetInstances(hivePath), true);
 }