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

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