I suggest you ...

Hyper-V 2012 R2 MP: Free Disk Space calculation issue

Calculation of free disk space and used space in Virtual Hard Disk free disk space monitor in Microsoft Windows Hyper-V 2012 R2 Monitoring MP is not correct. Used space is being calculated as zero. The GetDiskPartitionSpaceV2.ps1 script is using $UsedSpace = $drive.UsedSpace/$MEGABYTE which does not return anything.

This way it works fine.

$FreeSpace = $drive.FreeSpace/$MEGABYTE;
$UsedSpace = $TotalSpace-$FreeSpace;

MP Version: 7.1.10107.0

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Dinesh Sharma shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base