September 2010
Intermediate to advanced
1704 pages
111h 8m
English
Using the object retrieved in the $sql_server variable, you can create a quick report of database usage using the databases property of that object, as shown here:

Using the Format-Table cmdlet, you can easily and quickly create all kinds of reports. Some capabilities we haven’t discussed yet were used to create this report:
• Calculated properties—The values displayed by Format-Table can be calculated using scriptblocks. That allows the logic to be highly customized. These scriptblocks are laid out as follows:
![]()
•
Read now
Unlock full access