List of Listings
Chapter 1. PowerShell fundamentals
Listing 1.1. Use of GB, MB, and KB
Listing 1.2. Using Get-Member to view the .NET type
Listing 1.4. Comparing file content
Listing 1.5. Counting the number of files in a folder by extension type
Listing 1.6. Producing statistics on file sizes in a folder
Listing 1.7. Using multiple filters in Where-Object
Listing 1.8. Using a calculated property in Select-Object
Chapter 2. Learning PowerShell
Listing 2.2. Sample PowerShell console file
Listing 2.3. Using Set-ExecutionPolicy
Get PowerShell in Practice now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.