Solved

Pwershell -f switch

Posted on 2012-12-21
3
325 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Set OWA language and time zone in Exchange for individuals, all users or per database.
A procedure for exporting installed hotfix details of remote computers using powershell
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now