On Wed, Aug 17, 2011 at 2:31 PM, Sam Cayze <[email protected]> wrote:
> Anyway to get this PS function to list the disk’s labels?  If not, is there
> another command that will?

  If you have *nix tools:

  vol C: | head -n 1 | sed "s/ Volume in drive [A-Z] is //"

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to