Hello,
How can I put the result of format table in variables $logfile, $size_mb, $used_space, max_size :
$db.get_logfiles() | Format-Table @{Label="Log File"; Expression={$_.FileName}},`
@{Label="Size(MB)"; Expression={[math]::round($_.Size/1KB,2)}},`
@{Label="Used Space(MB)"; Expression={[math]::round($_.UsedSpace/1KB,2)}},`
@{Label="Max Size(MB)"; Expression={[math]::round($_.MaxSize/1KB,2)}} -a
Thanks
regards