PowerShell expression

https://technet.microsoft.com/en-us/library/ee692794.aspx

https://technet.microsoft.com/en-us/library/ff730948.aspx

Get-ChildItem C:\Test | Select-Object Name, CreationTime, @{Name=”Kbytes”;Expression={$_.Length / 1Kb}}
What we’re doing here is taking advantage of a cool – but little-know – PowerShell feature: the calculated property. A calculated property is pretty much what the name implies: it’s a property of an object, but not an inherent, built-in property of the object. Instead, it’s a property we create ourselves by, well, performing a calculation (i.e., running a script block). As you probably know by now, files don’t have a built-in property named Kbytes, a property that returns the size of the file in kilobytes. Therefore, we went ahead and created that property ourselves. And here’s the output we got back:
Name CreationTime Kbytes
—- ————- ——
challenge.mdb 12/17/2007 9:33:24 PM 884
pool.mdb 1/14/2008 8:16:15 AM 224
scores.mdb 1/3/2007 8:00:00 AM 260
wordlist.txt 1/3/2007 8:00:00 AM 320.91796875

PowerShell expression

Smart window (snap)

Smart Window or Snap, allows the user to view two windows side-by-side in Windows 7 without having to manually re-sizing either window. This is also useful if you don’t want to use Alt-Tab between 2 windows.

Click and Drag on the top title bar of the first window so your mouse pointer hits either the left or right side of your screen. Let go of the window when you see the outline of the window re-size to ? of the screen.
Then choose the other window you want to view on the side of the first window. Click and Drag the 2nd window to the opposite side of the screen until the mouse pointer hits the side of the screen and resizes to the other ? of the screen.

These steps can also be done using the Windows key and the right and left arrow keys by doing the steps below.

Smart window (snap)