Faster Dir Size calculations in Powershell!

Faster Dir Size calculations in Powershell!

Get-ChildItem is probably the command that's most used when working in PowerShell console. Next to file-system operations the command is also excellent to browse objects accessible via PSDrive(s). Most sysadmin's are probably familiar with tools such as TreeSize and/or WinDirStat. Did you ever wonder why these tools are so much…continue reading →
Write-Progress... The proper way!

Write-Progress... The proper way!

Write-Progress Issues. So, you wrote a script and included nifty progress bar, fairly simple. BUT your script runs slow, especially in a Powershell terminal. Relevant part of the script: [crayon-59c58d974832a599961892/] Oke, you run it in ISE, wrapped in Measure-Command to time the performance and.... [crayon-59c58d9748330850617889/] 1406 Milliseconds! That's not to…continue reading →