Ejemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        protected override void ProcessRecord()
        {
            switch (ParameterSetName)
            {
            case "ByVolume":
                WriteObject(Sid.Get(volume), true);
                break;

            case "ByPath":
                WriteObject(Sid.GetByPath(hivePath), true);
                break;
            }
        }