November 2018
Intermediate to advanced
566 pages
17h 15m
English
We will use the same script as the previous recipe:
PS> $FileCleanupInfo = (& /ch08/02-Clear-LogFiles.ps1)
PS> $FileCleanupInfo.SpaceCleared/1KB
PS> $FileCleanupInfo.SpaceCleared/1MB
PS> $FileCleanupInfo.SpaceCleared/1GB
Note how the results are not just the numbers divided by powers of 1,000:

PS> ($FileCleanupInfo.SpaceCleared)/(250*1e9)*100
An almost negligible number in our case, but here ...
Read now
Unlock full access