May 4th, 2017 by Charlie Russel and tagged Calculated Column, Comment-Based Help, Disk Free Space, ErrorAction, Format-Table, Formatting output, Pipeline, PowerShell, PowerShell Function, Process{}, WMI
Today’s post comes by way of a co-worker, Robert Carlson, who took my previous post on getting the free disk space of remote computers and offered a very useful suggestion — instead of outputting strings, which is only useful for a display or report, he suggests creating a PSCustomObject and outputting that. Slick! I like it. […]
Posted in IT Admin, PowerShell, PowerShell Functions | Comments Off on Guest Post — Get-myFreeSpace Revisited
April 18th, 2017 by Charlie Russel and tagged Calculated Column, Comment-Based Help, Disk Free Space, ErrorAction, Format-Table, Formatting output, Pipeline, PowerShell, Process{}, WMI
Several years ago, I wrote a fairly simplistic script to get the free disk space of remote computers. It wasn’t all that sophisticated, but it got the job that I needed done, so I shared it here on my blog, since I thought others might find it useful. Which, based on the number of hits here, […]
Posted in Annoyances, Network Administration, PowerShell, Windows Server, WMI | 4 Comments »
November 26th, 2014 by Charlie Russel and tagged Calculated Column, Disk Free Space, Format-Table, Formatting output, WMI
(For an updated version of this post and script, see Getting the Free Disk Space of Remote Computers Revisited.) This started out as a simple script to try to get the free space on one of my servers, but I quickly discovered that using WMI’s Win32_LogicalDisk could only give me part of the solution. The […]
Posted in Network Administration, PowerShell, Windows Server, WMI | 33 Comments »
June 15th, 2013 by Charlie Russel and tagged Format-Table, Formatting output, PowerShell, WMI
In my ongoing quest to remove dependency on legacy DOS commands, I recently created this script to get a list of all the local and mapped drives on a machine and how much free space each has on it. This script could be easily extended to display additional information (such as the underlying filesystem type) […]
Posted in PowerShell, WMI | 1 Comment »