100 days of code: Day 11

I am tracking notes on PowerShell in PS1 files on my git hub repository. You can see all 100 days of code entries on the blog category page.

Today I continued on my table formatting journey for another hour. Which as it turns out translates to very little progress in the book.

And to be clear I am almost literally typing the book out. I mean I trying to write down the most relevant parts as I’m reading and then I’ll stop and type in to the shell. Then more, then write, then type in the commands. I mean it’s a really time consuming process. And this for a chapter I already read and high-lighted.

Anyway in addition to learning about table formatting there’s also lines like this:

…how to use a hash table construct to add custom properties to an object. (pg. 130)

I mean how could any chapter with that line not be interesting. I’m sure it’s even more so out of context.

Did I mention I’m on chapter 11 of a ~26 chapter book? Ya. It might take me the 100 days just to get to the end of this book at this rate.

And since copy/paste is a thing here’s an example of whatever it is I think I just quoted from page 130:

Get-Process | Format-Table Name, @{name='VM(MB)';Expression={$_.VM};FormatString='F2';align='right'} -AutoSize

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s