Solved

Pwershell -f switch

Posted on 2012-12-21
3
332 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
A brief introduction to what I consider to be the best editor for PowerShell.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

732 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