Showing results for Formatting output - Scripting Blog [archived]

Apr 14, 2016
0
0

Calculate percentage character frequencies from a text file by using PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to calculate the percentage of how often a character appears in a text file. This is the fifth post in a multi-part series of blog posts that deal with how to determine letter frequency in text files. To fully understand this post, you should read the entire series in order. Here are the posts in the ...

Scripting Guy!Windows PowerShellFormatting output
Mar 16, 2013
0
0

Weekend Scripter: Use PowerShell and Custom Time Span Format Strings

ScriptingGuy1
ScriptingGuy1

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and custom time span format strings to display lapsed time. Microsoft Scripting Guy, Ed Wilson, is here. This morning I am awake and sipping a nice cup of English Breakfast tea with a little peppermint and spearmint leaves in it. I am thinking back over yesterday&...

Scripting Guy!Windows PowerShellscripting techniques
Mar 15, 2013
0
0

Use PowerShell and Conditional Formatting to Format Time Spans

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell and conditional formatting to discover and  format time spans.  Hey, Scripting Guy! What is a time span, and why would I want to use one? Just sayin'… —JR  Hello JR, Microsoft Scripting Guy, Ed Wilson, is here. This morning is one of those mornings that remind me of when I was...

Scripting Guy!Windows PowerShellscripting techniques
Mar 14, 2013
0
0

Use PowerShell and Conditional Formatting to Format Dates

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and conditional formatting to control the format of dates.  Hey, Scripting Guy! I know that Windows PowerShell has made it easier to deal with dates, especially with some of the tricks that are available via the Get-Date cmdlet. But at times I need to display ...

Scripting Guy!Windows PowerShellscripting techniques
Mar 13, 2013
0
0

Use PowerShell and Conditional Formatting to Format Numbers

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell and conditional formatting to format numbers.  Hey, Scripting Guy! One of the big problems I have when it comes to using Windows PowerShell is figuring out how to properly format numbers. I mean, I can easily use [int] to get rid of hundreds of decimal places, but...

Scripting Guy!Windows PowerShellscripting techniques