Posts tagged with Formatting output

Guest Post — Get-myFreeSpace Revisited

May 4th, 2017 by and tagged , , , , , , , , , ,

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

Getting the Free Disk Space of Remote Computers Revisited

April 18th, 2017 by and tagged , , , , , , , , ,

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 »

Getting the Free Disk Space of Remote Computers

November 26th, 2014 by and tagged , , , ,

(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 »

Getting Drive Information Using WMI and PowerShell

June 15th, 2013 by and tagged , , ,

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 »