Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.os.windows-11 > #18387
| From | T <T@invalid.invalid> |
|---|---|
| Newsgroups | alt.comp.os.windows-11 |
| Subject | I need help with powershell select object |
| Date | 2025-04-09 19:38 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <vt7avq$1hkgt$5@dont-email.me> (permalink) |
Hi All,
powershell "Get-WmiObject -Class Win32_LogicalDisk"
DeviceID : C:
DriveType : 3
ProviderName :
FreeSpace : 32270856192
Size : 63838412800
VolumeName : Root
...
DeviceID : J:
DriveType : 4
ProviderName : \\192.168.255.10\OurStuff
FreeSpace : 150684667904
Size : 973794349056
VolumeName : Fedora, 4.21.4
I am after a chart that look like this:
powershell "Get-WmiObject -Class Win32_LogicalDisk | Select-Object
-Property VolumeName, DeviceID, ProviderName, FreeSpace"
VolumeName DeviceID ProviderName FreeSpace
---------- -------- ------------ ---------
Root C: 32270856192
CCCOMA_X64FRE_EN-US_DV9 D: 0
BACKUP E: 58589184
F:
Fedora, 4.21.4 J: \\192.168.255.10\OurStuff 150684913664
Fedora, 4.21.4 K: \\RN6\CDs 150684905472
OurStuff N: 150684917760
But if I add "size", I get this:
powershell "Get-WmiObject -Class Win32_LogicalDisk | Select-Object
-Property VolumeName, DeviceID, ProviderName, FreeSpace, size"
VolumeName :
DeviceID : C:
ProvidesName :
FreeSpace : 32270962688
size : 63838412800
...
What am I doing wrong?
-T
Back to alt.comp.os.windows-11 | Previous | Next — Next in thread | Find similar | Unroll thread
I need help with powershell select object T <T@invalid.invalid> - 2025-04-09 19:38 -0700
Re: I need help with powershell select object Paul <nospam@needed.invalid> - 2025-04-10 00:18 -0400
Re: I need help with powershell select object T <T@invalid.invalid> - 2025-04-09 22:59 -0700
Re: I need help with powershell select object T <T@invalid.invalid> - 2025-04-09 23:06 -0700
Re: I need help with powershell select object Paul <nospam@needed.invalid> - 2025-04-10 06:37 -0400
Re: I need help with powershell select object Andy Burns <usenet@andyburns.uk> - 2025-04-10 11:42 +0100
Re: I need help with powershell select object Frank Slootweg <this@ddress.is.invalid> - 2025-04-10 15:30 +0000
Re: I need help with powershell select object Andy Burns <usenet@andyburns.uk> - 2025-04-10 17:33 +0100
Re: I need help with powershell select object T <T@invalid.invalid> - 2025-04-10 04:12 -0700
Re: I need help with powershell select object T <T@invalid.invalid> - 2025-04-10 04:13 -0700
Re: I need help with powershell select object Java Jive <java@evij.com.invalid> - 2025-04-10 12:46 +0100
Re: I need help with powershell select object T <T@invalid.invalid> - 2025-04-10 17:32 -0700
Re: I need help with powershell select object T <T@invalid.invalid> - 2025-04-10 17:43 -0700
Re: I need help with powershell select object Paul <nospam@needed.invalid> - 2025-04-10 21:27 -0400
csiph-web