This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Don't forget to run Connect-VIServer before running this script | |
# Tested against vSphere 6.7 using PSCore 7 | |
# Function from https://theposhwolf.com/howtos/Format-Bytes/ | |
# https://github.com/ThePoShWolf/Utilities/blob/88860fefb1e35a6f71e9799e1a51ae903d074f8d/Misc/Format-Bytes.ps1 | |
# under MIT license: https://github.com/ThePoShWolf/Utilities/blob/88860fefb1e35a6f71e9799e1a51ae903d074f8d/LICENSE | |
Function Format-Bytes { | |
Param | |
( | |
[Parameter( |
OlderNewer