Solved

Pwershell -f switch

Posted on 2012-12-21
3
329 Views
Last Modified: 2012-12-21
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
0
Comment
Question by:johndarby
3 Comments
 
LVL 27

Accepted Solution

by:
KenMcF earned 450 total points
ID: 38713751
-f is a format parameter. you can read more about it here

http://technet.microsoft.com/en-us/library/ee692795.aspx
0
 
LVL 9

Assisted Solution

by:David Carr
David Carr earned 50 total points
ID: 38713756
-f is Format Operator to control output
0
 
LVL 1

Author Closing Comment

by:johndarby
ID: 38713889
Thank you!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
This article will help you understand what HashTables are and how to use them in PowerShell.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question