Pwershell -f switch

John Darby
John Darby used Ask the Experts™
on
I have a Powershell example from Powershell.com which came as a snippet via email. I am having a dense moment and cannot find more details on the use of the -f switch?

PS> '{0:N0}' -f (8GB/12KB)
699,051

Thank you,
JohnD
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
-f is a format parameter. you can read more about it here

http://technet.microsoft.com/en-us/library/ee692795.aspx
David CarrMessaging Administrator
Commented:
-f is Format Operator to control output

Author

Commented:
Thank you!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial