Starry Hope Starry Hope
Chromebooks Mini PCs Linux Notes

PowerShell Notes and Links

Number Formatting in PowerShell

$a = 348 

"{0:N2}" -f $a  # 348.00
"{0:D8}" -f $a  # 00000348  (Decimal)
"{0:C2}" -f $a  # $348.00  (Currency)
"{0:P0}" -f $a  # 34,800 %  (Percentage)
"{0:X0}" -f $a  # 15C  (Hexadecimal)

Links

  • PowerShell Gallery
  • Pluralsight PowerShell Courses

Video Tutorials

Passwords in PowerShell

Best Chromebook Deals Today Best Chromebooks for Kids
Chromebooks
Mini PCs
Linux
Mac
Notes
FTC Disclosure
Privacy Policy
Cookie Policy
Credits
RSS

Copyright © 1998 - 2025 Starry Hope, LLC.