Skip to content

Instantly share code, notes, and snippets.

View prboyer's full-sized avatar

Paul Boyer prboyer

  • Wisconsin
View GitHub Profile
@prboyer
prboyer / Get-VMDiskInfo.ps1
Last active April 19, 2022 17:48
This script will return a table of virtual hard disks, their corresponding sizes (current and maximum), and hte machine that they are attached to
<#
.SYNOPSIS
This script will return a table of virtual hard disks, their corresponding sizes (current and maximum), and hte machine that they are attached to
.NOTES
Paul Boyer
04/19/2022
#>
[CmdletBinding()]
param (
# Mitigation for CVE-2021-36934
# Paul Boyer - 07-26-2021
# https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-36934
# Include an option for running the script silently- no interaction from the vssadmin.exe delete function.
param (
[Parameter()]
[Switch]
$Quiet
)