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:[email protected]] 
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:[email protected]] 
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 [email protected]
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 [email protected]
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 [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to