
Part I: PowerShell for Exchange Fundamentals
58
Notice that the output here is quite a bit different than what you would see from a regular file system
drive. That is because the information held in the Registry is so much different than files and directories.
The Registry is made up of keys, which can be thought of as containers. Keys can contain sub - keys and
property values that are properties of the key in which they are contained. Sub - keys can contain more
sub - keys and property values of their own.
In the output from
dir in the previous example, the objects listed under the Name column are sub - keys
in the
MSExchangeIS key. The SKC (sub - key count) column denotes the number of sub - keys contained in
that sub - key. The
VC (value count) column contains a count of the number of values in that sub - key. The
Property column lists each property value. For example, the Diagnostics sub - key contains three
sub - keys of its own, but no property values. The
Performance sub - key contains no sub - keys, but has
13 property values.
To work with Registry keys, use
Item cmdlets: Get-Item , Set-Item , Rename-Item , Copy-Item ,
Move-Item , and Remove-Item . To work with Registry property values use ItemProperty cmdlets:
Get-ItemProperty , Set-ItemProperty , Rename-ItemProperty , Copy-ItemProperty ,
Move-ItemProperty , and Remove-ItemProperty ...