Flow designer- how to calculate total disk space on a server?

Damhoej
Giga Guru

I am trying to figure out how I can create an action in flow designer that wil get me the total disk space on a server.

example:

The server has 3 disks that have different sizes (100, 200 and 300 Gb) that totales to 600 Gb.

I would like to sum these values when different servers have different number of disks?

When I get the total I can use this value further down my flow.

Any suggestions?

11 REPLIES 11

you can easily convert the MB to GB or anything and have a standard sizes in the server table, the above calculation is taken in GB.

 

 

I have now switched to Quebec and have made this flow (as an example):
But I can not figure out how to collect the size_bytes and enter that value in the variable.
I am just starting to learn how to script, and my solution is to collect the size_bytes value (independant on MB, GB and TB) and add the bytes together to a total disk size (in bytes) then I can divide that value with 1024^3 to transform the value to GB.
But I can not figure out how to collect the size_bytes value into the var. find_real_file.png