Formatting Output
Formatting Output
Formatting Output
Module Overview
Default Formatting
Wide Lists
Lists
Tables
• Demonstration: Basic Formatting
Default Formatting
Get-Service | Format-Wide
Get-Process | FW -AutoSize
Lists
Get-Service | FL
Name,Status,DisplayName
Tables
Get-Process | FT *
Get-Process |
Format-Table -Property Name,ID,@{n='VM(MB)';
e={$PSItem.VM /
1MB};
formatString='N2';
align='right'} -
AutoSize
Demonstration: Custom Table Columns
Logon Information
Review Question(s)
Real-world Issues and Scenarios
Best Practice
• Common Issues and Troubleshooting Tips