Posts tagged with Format-Table

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 | No Comments »

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 Large Files

December 2nd, 2016 by and tagged , , , , ,

Sooner or later, you’re likely to have to “clean up” a disk that’s running out of space. One of the simplest ways to do that is to find the really large files on the disk or in a directory and delete ones that you don’t actually need, or move them to a location that has […]

Posted in Network Administration, PowerShell | Comments Off on Getting Large Files

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 »