Skip to content

Instantly share code, notes, and snippets.

View jimmys's full-sized avatar

Jimmy Sieben jimmys

View GitHub Profile
@jimmys
jimmys / Get-DiskFree.ps1
Last active July 30, 2022 17:14 — forked from mweisel/Get-DiskFree.ps1
PowerShell advanced function (script cmdlet) to query, retrieve, and display local drive/disk information. (https://binarynature.blogspot.com/2010/04/powershell-version-of-df-command.html)
function Get-DiskFree
{
[CmdletBinding()]
param
(
[Parameter(Position=0,
ValueFromPipeline=$true,
ValueFromPipelineByPropertyName=$true)]
[Alias('hostname')]
[Alias('cn')]