I am executing the below line of code and need to convert the Size Column from bytes to TB.
"<style>table, th, td {border: 1px solid;}</style>"
Get-PhysicalDisk -Manufacturer PureStorage | ConvertTo-Html -Property "FriendlyName", FirmwareVersion, PhysicalLocation, OperationalStatus, HealthStatus, Size -Head $Style | Out-File D:\Array.htm
Current output
Desire out put to display Size Column in TB.
Size/102410241024*1024 . Would like to round of to two decimal places.
Any help will be greatly appreciated.