Get-Member.  I try it before web searches.  Granted I did have to guess at
description being it instead of label, so try this.

Get-PSDrive c | get-member


Then I did did the properties
 Get-PSdrive c | ft -autosize Description, Name, Provider, Root, Free, Used

and then I discovered Micheal beat me.



On Wed, Aug 17, 2011 at 11:43 AM, Sam Cayze <sca...@gmail.com> wrote:

> Great, worked like a champ!  I’m doing it on a remote machine, so glad it
> stated easy-peasy like this.****
>
> ** **
>
> Now, how would a PS noob like me find that out?  I looked here, but it
> didn’t list what I was able to query…****
>
> http://technet.microsoft.com/en-us/library/dd315263.aspx****
>
> ** **
>
> I did figure out how to limit it to sys drives:****
>
> Get-PSDrive | where {$_.Provider.Name -eq "FileSystem"} | Select Root,
> Description****
>
> ** **
>
> ** **
>
> Thanks!****
>
> ** **
>
> ** **
>
> *From:* Michael B. Smith [mailto:mich...@smithcons.com]
> *Sent:* Wednesday, August 17, 2011 1:36 PM
> *To:* NT System Admin Issues
> *Subject:* RE: Get-PSDrive****
>
> ** **
>
> Get-PsDrive | Select Root, Description****
>
> ** **
>
> Regards,****
>
> ** **
>
> Michael B. Smith****
>
> Consultant and Exchange MVP****
>
> http://TheEssentialExchange.com****
>
> ** **
>
> *From:* Sam Cayze [mailto:sca...@gmail.com]
> *Sent:* Wednesday, August 17, 2011 2:31 PM
> *To:* NT System Admin Issues
> *Subject:* Get-PSDrive****
>
> ** **
>
> Anyway to get this PS function to list the disk’s labels?  If not, is there
> another command that will?  Looking at WMI next…****
>
> ** **
>
> Tia,****
>
> Sam****
>
> ~ 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 listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin****
>
> ~ 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 listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin****
>
> ~ 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 listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>

~ 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 listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Reply via email to