Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Pwershell -f switch

Posted on 2012-12-21
3
Medium Priority
?
336 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 1800 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 200 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

New Tabletop Appliances Blow Competitors Away!

WatchGuard’s new T15, T35 and T55 tabletop UTMs provide the highest-performing security inspection in their class, allowing users at small offices, home offices and distributed enterprises to experience blazing-fast Internet speeds without sacrificing enterprise-grade security.

Question has a verified solution.

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

The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
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 anti-spam), the admin…
Loops Section Overview

972 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