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

            case "ByPath":
                WriteObject(ShellLink.Get(filePath));
                break;
            }
        }