Showing results for June 2008 - Page 5 of 5 - Scripting Blog [archived]

Jun 2, 2008
0
0

Hey, Scripting Guy! How Can I Use Leading Zeroes When Displaying a Value in Windows PowerShell?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I just read your “using calculated properties” PowerShell Tip of the Week, and it addresses a problem I recently had. However, when I got to the last step in your article, I realized the file sizes – and my displayed values – are now left-justified. I’d like to use leading zeroes to align the numbers on the decimal point, but ...

Scripting Guy!Windows PowerShellscripting techniques